CodeceptJS icon indicating copy to clipboard operation
CodeceptJS copied to clipboard

I.grabBrowserUrl is not a function

Open ecampii opened this issue 8 years ago • 3 comments

What are you trying to achieve?

grab the current url

What do you get instead?

 I.grabBrowserUrl is not a function

ecampii avatar Feb 20 '18 08:02 ecampii

Please provide more information about your setup. i.e. Codeceptjs version, nodejs which helper you are using etc.

reubenmiller avatar Feb 20 '18 11:02 reubenmiller

Though please note that I.grabBrowserUrl is currently only available in WebDriverIO.

reubenmiller avatar Feb 20 '18 12:02 reubenmiller

Fixed in v1.1.6 which was release today.

I.grabBrowserurl has been renamed to I.grabCurrenturl and is available for all web helpers (i.e. Puppeteer, Nightmare, WebDriverIO and Protractor)

reubenmiller avatar Mar 01 '18 14:03 reubenmiller