{"action":"opened","issue":{"url":"https://api.github.com/repos/theintern/leadfoot/issues/166","repository_url":"https://api.github.com/repos/theintern/leadfoot","labels_url":"https://api.github.com/repos/theintern/leadfoot/issues/166/labels{/name}","comments_url":"https://api.github.com/repos/theintern/leadfoot/issues/166/comments","events_url":"https://api.github.com/repos/theintern/leadfoot/issues/166/events","html_url":"https://github.com/theintern/leadfoot/issues/166","id":374279225,"node_id":"MDU6SXNzdWUzNzQyNzkyMjU=","number":166,"title":"Webdriver spec compatibility issues when testing against selenium grid","user":{"login":"t2t2","id":1122555,"node_id":"MDQ6VXNlcjExMjI1NTU=","avatar_url":"https://avatars2.githubusercontent.com/u/1122555?v=4","gravatar_id":"","url":"https://api.github.com/users/t2t2","html_url":"https://github.com/t2t2","followers_url":"https://api.github.com/users/t2t2/followers","following_url":"https://api.github.com/users/t2t2/following{/other_user}","gists_url":"https://api.github.com/users/t2t2/gists{/gist_id}","starred_url":"https://api.github.com/users/t2t2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t2t2/subscriptions","organizations_url":"https://api.github.com/users/t2t2/orgs","repos_url":"https://api.github.com/users/t2t2/repos","events_url":"https://api.github.com/users/t2t2/events{/privacy}","received_events_url":"https://api.github.com/users/t2t2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-26T08:30:10Z","updated_at":"2018-10-26T08:30:10Z","closed_at":null,"author_association":"NONE","body":"When testing against current version (3.14.0) selenium grid ([for example docker-selenium's hub + chrome + firefox setup](https://github.com/SeleniumHQ/docker-selenium#selenium-grid-hub-and-nodes)), firefox (62.0.3 + geckodriver 0.23.0) suddenly expects everything to be matching the webdriver spec.\r\n\r\nStuff I've noticed / monkeypatched in a plugin to make it work:\r\n\r\n* _getKnownCapabilities:\r\n* * usesWebDriverTimeouts `null -> true`\r\n* * usesHandleParameter `null -> true`\r\n* * usesFlatKeysArray `true -> false`\r\n* POST execute_async -> execute/async (like #143)\r\n* GET window_handle -> window\r\n* GET window_handles -> window/handles\r\n* switching frames by element `const frame = (await remote.findAllByCssSelector('iframe'))[0]; remote.switchToFrame(frame)` wants format change from `{id: {ELEMENT: 'abcdf'}}` to `{id: {'element-6066-11e4-a52e-4f735466cecf': 'abcdf'}}`\r\n\r\nThere's more stuff that breaks when adding an internet explorer (11 + IEdriver 3.14.0) node to the grid, but I gave up on that and just downgraded to 3.4.0\r\n\r\n* `/execute` returns 405 error which isn't caught by https://github.com/theintern/leadfoot/blob/0c4c61206b8066df63c4068a69a584d3f3f838d0/src/Session.ts#L377\r\n"}}
{"actor":{"display_login":"t2t2"}}