teampoltergeist / poltergeist

A PhantomJS driver for Capybara

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

current_url returns empty string on about:blank

romikoops opened this issue · comments

Meta

Poltergeist Version: 1.18.0

Expected Behavior

'about:blank' string as in version 1.17.0

Actual Behavior

empty string

Steps to reproduce

visit 'about:blank'
page.current_url

Please try the about_blank branch and see if it fixes your use case (PR #928)

@twalpole I confirm, it works as expected in the branch

Fixed via PR #928 - If you need the fix right now use master branch, otherwise I'll probably release a 1.18.1 later this week.