JavaScript How to Write First Script
Before scripting, you need to import the packages which allow you to create a WebDriver script. The get() method helps launch a pure web browser instance. The getTitle() method retrieves the page title and assigns the retrieved title to a String object. In WebDriver, we can locate web elements using Dynamic finders.