{"action":"created","issue":{"url":"https://api.github.com/repos/webdriverio/webdriverio/issues/2579","repository_url":"https://api.github.com/repos/webdriverio/webdriverio","labels_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/2579/labels{/name}","comments_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/2579/comments","events_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/2579/events","html_url":"https://github.com/webdriverio/webdriverio/issues/2579","id":293640169,"number":2579,"title":"Chrome 64: browser.url(\"old/path#new-hash\") gets stuck if only hash part is changed","user":{"login":"artemv","id":11217,"avatar_url":"https://avatars3.githubusercontent.com/u/11217?v=4","gravatar_id":"","url":"https://api.github.com/users/artemv","html_url":"https://github.com/artemv","followers_url":"https://api.github.com/users/artemv/followers","following_url":"https://api.github.com/users/artemv/following{/other_user}","gists_url":"https://api.github.com/users/artemv/gists{/gist_id}","starred_url":"https://api.github.com/users/artemv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artemv/subscriptions","organizations_url":"https://api.github.com/users/artemv/orgs","repos_url":"https://api.github.com/users/artemv/repos","events_url":"https://api.github.com/users/artemv/events{/privacy}","received_events_url":"https://api.github.com/users/artemv/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-02-01T18:41:56Z","updated_at":"2018-02-01T20:19:50Z","closed_at":"2018-02-01T18:58:01Z","author_association":"NONE","body":"## The problem\r\nThis code:\r\n```\r\nbrowser.url(\"my/path\")\r\nbrowser.url(\"my/path#new-hash\")\r\n```\r\non fresh Chrome 64 gets stuck on second line until runner times out with message like `Timeout of 300000ms exceeded`\r\n\r\n## Environment\r\n\r\n* WebdriverIO version: 4.10.1\r\n* Node.js version: any (tried on 7.0.0)\r\n* [Standalone mode or wdio testrunner](http://webdriver.io/guide/getstarted/modes.html): wdio testrunner\r\n* if wdio testrunner, running synchronous or asynchronous tests: synchronous\r\n* Additional wdio packages used (if applicable): -\r\n\r\n## Details\r\n\r\nThis is similar to https://github.com/GoogleChrome/puppeteer/issues/257#issuecomment-355674062\r\nThe workaround I came to is to use JS navigation instead of browser.url in case only hash changes: `browser.execute((newHash) => location.hash = newHash)` \r\n\r\n## Link to Selenium/WebdriverIO logs\r\n```\r\nTimeout of 300000ms exceeded. Try to reduce the run time or increase your timeout for test specs (http://webdriver.io/guide/testrunner/timeouts.html); if returning a Promise, ensure it resolves.\r\n```\r\nI'll make a logs link a bit later.\r\n\r\n## Code To Reproduce Issue [ Good To Have ]\r\n\r\nSee [## The problem] section.\r\n"},"comment":{"url":"https://api.github.com/repos/webdriverio/webdriverio/issues/comments/362389614","html_url":"https://github.com/webdriverio/webdriverio/issues/2579#issuecomment-362389614","issue_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/2579","id":362389614,"user":{"login":"artemv","id":11217,"avatar_url":"https://avatars3.githubusercontent.com/u/11217?v=4","gravatar_id":"","url":"https://api.github.com/users/artemv","html_url":"https://github.com/artemv","followers_url":"https://api.github.com/users/artemv/followers","following_url":"https://api.github.com/users/artemv/following{/other_user}","gists_url":"https://api.github.com/users/artemv/gists{/gist_id}","starred_url":"https://api.github.com/users/artemv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artemv/subscriptions","organizations_url":"https://api.github.com/users/artemv/orgs","repos_url":"https://api.github.com/users/artemv/repos","events_url":"https://api.github.com/users/artemv/events{/privacy}","received_events_url":"https://api.github.com/users/artemv/received_events","type":"User","site_admin":false},"created_at":"2018-02-01T20:19:49Z","updated_at":"2018-02-01T20:19:49Z","author_association":"NONE","body":"@christian-bromann I'm not sure re docs now because this doesn't reproduce with Chromedriver 2.33 - so it could be Chromedriver 2.34+ bug ([this](https://bugs.chromium.org/p/chromedriver/issues/detail?id=2251&q=hash&colspec=ID%20Status%20Pri%20Owner%20Summary) one?) visible only on Chrome 64+."}}
{"actor":{"display_login":"artemv"}}