Taiko
Documentation

Home / API Reference

title

Returns page's title.

Examples

await openBrowser();
await goto("www.google.com");
await title(); # returns "Google"

Parameters

This API does not have any parameters

Returns

The title of the current page.

Promise<string>