{"action":"opened","issue":{"url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/2472","repository_url":"https://api.github.com/repos/SeleniumHQ/selenium","labels_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/2472/labels{/name}","comments_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/2472/comments","events_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/2472/events","html_url":"https://github.com/SeleniumHQ/selenium/issues/2472","id":165814418,"number":2472,"title":"Remote WebDriver and subclasses in Python fail methods if w3c is not defined","user":{"login":"uchuugaka","id":197321,"avatar_url":"https://avatars.githubusercontent.com/u/197321?v=3","gravatar_id":"","url":"https://api.github.com/users/uchuugaka","html_url":"https://github.com/uchuugaka","followers_url":"https://api.github.com/users/uchuugaka/followers","following_url":"https://api.github.com/users/uchuugaka/following{/other_user}","gists_url":"https://api.github.com/users/uchuugaka/gists{/gist_id}","starred_url":"https://api.github.com/users/uchuugaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uchuugaka/subscriptions","organizations_url":"https://api.github.com/users/uchuugaka/orgs","repos_url":"https://api.github.com/users/uchuugaka/repos","events_url":"https://api.github.com/users/uchuugaka/events{/privacy}","received_events_url":"https://api.github.com/users/uchuugaka/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-15T15:29:37Z","updated_at":"2016-07-15T15:29:37Z","closed_at":null,"body":"## Meta -\r\nOS:  \r\n<!-- macOS Sierra 10.12 beta -->\r\nSelenium Version:  \r\n<!-- 2.53.0 (latest successful build from Jenkins as of July 16 2016 -->\r\nBrowser:  \r\n<!-- Safari -->\r\n\r\nBrowser Version:  \r\n<!-- e.g.: 10 -->\r\n\r\nApologies if the Github repo is not the right place for this yet, here is my observation.\r\n\r\n## Expected Behavior -\r\nAll methods that check \r\nif self.w3c:\r\nShould not fail, as the spec is still unfinished.\r\n\r\n## Actual Behavior -\r\nMethods such as get_window_size() that check \r\nif self.w3c:\r\nFail with a Remote WebDriver or subclass instance having no attribute w3c\r\n\r\n## Steps to reproduce -\r\n<!-- \r\nOn macOS Sierra beta, install latest successful build with:\r\npip install --upgrade --force-reinstall http://ci.seleniumhq.org:8080/job/build_python/lastSuccessfulBuild/artifact/selenium-latest.tar.gz\r\n\r\nIn Python:\r\n\r\n>>> from selenium.webdriver import Safari\r\n>>> safari = Safari()\r\n>>> safari.get_window_size()\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"/usr/local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py\", line 857, in get_window_size\r\n    if self.w3c:\r\nAttributeError: 'WebDriver' object has no attribute 'w3c'\r\n\r\n\r\n\r\n# Workaround is to do:\r\n>>> safari.w3c = False\r\n\r\n-->\r\n"}}
{"actor":{"display_login":"uchuugaka"}}