Taiko
Documentation

Home / API Reference

currentURL

Returns window's current URL.

Examples

await openBrowser();
await goto("www.google.com");
await currentURL(); # returns "https://www.google.com/?gws_rd=ssl"

Parameters

This API does not have any paramters

Returns

The URL of the current window.