teampoltergeist / poltergeist

A PhantomJS driver for Capybara
MIT License
2.5k stars 415 forks source link

page.current_path always root #930

Closed milgner closed 6 years ago

milgner commented 6 years ago

After upgrading to Poltergeist from 1.17 to 1.18, page.current_path always returns the root path /. Downgrading solved the issue again.

twalpole commented 6 years ago

The following gist shows current_path working fine - https://gist.github.com/twalpole/5f14160e792ce64f06499376adb95558 - and it's definitely tested as part of the Poltergeist/Capybara test suite - so we'll need a reproducible example to look at this.

twalpole commented 6 years ago

Will reopen if a reproducible example is provided