web
module. Refer to API Reference for a complete list of provided modules and methods.open
command accepts only one argument - web site URL. It will open the provided URL and return once the web-page has been fully loaded.type
allows typed strings into input elements and accepts two arguments: a locator which will be used for finding the element and a string which will be typed into that element. See API Reference for a list of supported locators.click
accepts a locator argument. It will click on the provided element and block until the new page has been fully loaded.assertText
asserts whether the element contains the specified text. This command will fail the test if element doesn't contain the text or wasn't found at all.wikipedia.js
. In the dropdown menu select the browser you wish to run the script in and click Run.