{"action":"closed","issue":{"url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/5238","repository_url":"https://api.github.com/repos/SeleniumHQ/selenium","labels_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/5238/labels{/name}","comments_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/5238/comments","events_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/5238/events","html_url":"https://github.com/SeleniumHQ/selenium/issues/5238","id":283612604,"number":5238,"title":"WebDriverException: Message: {\"errorMessage\":\"undefined is not an object (evaluating '(C(a)?xb(C(a)):window) ...","user":{"login":"iarp","id":2169438,"avatar_url":"https://avatars1.githubusercontent.com/u/2169438?v=4","gravatar_id":"","url":"https://api.github.com/users/iarp","html_url":"https://github.com/iarp","followers_url":"https://api.github.com/users/iarp/followers","following_url":"https://api.github.com/users/iarp/following{/other_user}","gists_url":"https://api.github.com/users/iarp/gists{/gist_id}","starred_url":"https://api.github.com/users/iarp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iarp/subscriptions","organizations_url":"https://api.github.com/users/iarp/orgs","repos_url":"https://api.github.com/users/iarp/repos","events_url":"https://api.github.com/users/iarp/events{/privacy}","received_events_url":"https://api.github.com/users/iarp/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-12-20T16:04:40Z","updated_at":"2017-12-22T16:10:26Z","closed_at":"2017-12-22T16:10:26Z","author_association":"NONE","body":"OS:  Windows Server 2008 R2, Windows 7, Windows 10\r\nSelenium Version:  3.8.0\r\nBrowser:  Chrome 63.0.3239.108, chromedriver.exe 2.34, phantomjs.exe 2.1.1\r\n\r\nI have a script I run every 15 minutes Monday to Friday 8am to 6pm. For the most part it runs fine, except without fail every Monday I get the following as error messages until I login to the machine and restart the script.\r\n\r\nThere are no chromedriver or phantomjs running in the background when this happens. I always browser.quit() at the end of the scripts execution. I have hundreds of these error messages logged and the one commonality between them all is its always the first interaction with the browser thats failing (aside from loading the page).\r\n\r\nThe following code uses chromedriver:\r\n\r\n> elem = browser.find_element_by_id('username')\r\n> elem.send_keys('')\r\n\r\nResults in:\r\n\r\n> WebDriverException: Message: {\"errorMessage\":\"undefined is not an object (evaluating '(C(a)?xb(C(a)):window).getComputedStyle(a,null).MozTransform.match')\",\"request\":{\"headers\":{\"Accept\":\"application/json\",\"Accept-Encoding\":\"identity\",\"Connection\":\"close\",\"Content-Length\":\"164\",\"Content-Type\":\"application/json;charset=UTF-8\",\"Host\":\"127.0.0.1:64021\",\"User-Agent\":\"Python http auth\"},\"httpVersion\":\"1.1\",\"method\":\"POST\",\"post\":\"{\\\"value\\\": [\\\"\\\"], \\\"sessionId\\\": \\\"f922dc20-d3a7-11e7-9d9d-c7b35afd707f\\\", \\\"text\\\": \\\"\\\", \\\"id\\\": \\\":wdc:1511810417933\\\"}\",\"url\":\"/value\",\"urlParsed\":{\"anchor\":\"\",\"query\":\"\",\"file\":\"value\",\"directory\":\"/\",\"path\":\"/value\",\"relative\":\"/value\",\"port\":\"\",\"host\":\"\",\"password\":\"\",\"user\":\"\",\"userInfo\":\"\",\"authority\":\"\",\"protocol\":\"\",\"source\":\"/value\",\"queryKey\":{},\"chunks\":[\"value\"]},\"urlOriginal\":\"/session/f922dc20-d3a7-11e7-9d9d-c7b35afd707f/element/:wdc:1511810417933/value\"}}\r\nScreenshot: available via screen\r\n\r\nThe following code uses phantomjs:\r\n\r\n> WebDriverWait(browser, 30).until(expected_conditions.visibility_of_element_located((By.ID, 'username')))\r\n\r\nResults in:\r\n\r\n> Message: {\"errorMessage\":\"undefined is not an object (evaluating '(y(a)?y(a).parentWindow||y(a).defaultView:window).getComputedStyle(a,null).MozTransform.match')\",\"request\":{\"headers\":{\"Accept\":\"application/json\",\"Accept-Encoding\":\"identity\",\"Connection\":\"close\",\"Content-Type\":\"application/json;charset=UTF-8\",\"Host\":\"127.0.0.1:56004\",\"User-Agent\":\"Python http auth\"},\"httpVersion\":\"1.1\",\"method\":\"GET\",\"url\":\"/displayed\",\"urlParsed\":{\"anchor\":\"\",\"query\":\"\",\"file\":\"displayed\",\"directory\":\"/\",\"path\":\"/displayed\",\"relative\":\"/displayed\",\"port\":\"\",\"host\":\"\",\"password\":\"\",\"user\":\"\",\"userInfo\":\"\",\"authority\":\"\",\"protocol\":\"\",\"source\":\"/displayed\",\"queryKey\":{},\"chunks\":[\"displayed\"]},\"urlOriginal\":\"/session/b350f3a0-d8fa-11e7-a47f-2fc5f228f53f/element/:wdc:1512395704093/displayed\"}}\r\nScreenshot: available via screen"}}
{"actor":{"display_login":"barancev"}}