From the course: Advanced Selenium: Automation Frameworks

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Testing with Selenide: Navigate and wait

Testing with Selenide: Navigate and wait - Selenium Tutorial

From the course: Advanced Selenium: Automation Frameworks

Start my 1-month free trial

Testing with Selenide: Navigate and wait

- [Instructor] We're going to go ahead and make our test navigate to our test website and then we're going to wait for two fields on the form to appear which will let us know that the form has loaded correctly. Let's go ahead and bring up the test website, ExploreCalifornia.org. Go a head and click on the Contact link. And now let's go ahead and highlight the URL and we're going to copy it, switch back to IntelliJ, make a little bit of room in the test method that we created and we're going to call the open method. We're going to start some quotes so we can create a string parameter. And now just go ahead and paste in the URL that we copied. That looks good. Let's go ahead and switch back to the browser and let's scroll down to the contact form. So the first field that comes up in the contact form is the name field. Let's go ahead and right-click in the name field. In the context menu that appears, select Inspect. And…

Contents