Run Selenium Java Tests on Different Browsers on Sauce Labs

Опубликовано: 29 Сентябрь 2024
на канале: Sauce Labs
1,885
9

In this tutorial learn how to use different browser options with a Selenium Java Test to set the browser you would like to run your tests in on Sauce Labs. Use a switch statement using Selenium BrowserType class to detect the browser, then add browser options to set capabilities for 5 different types of browsers. Finally, you will see how to run tests on different browser (and operating systems). You will also see how to use the -D flag to set options to run on different browsers.
This video is a part of module 3 of the Automation Quickstart course on Sauce School(https://training.saucelabs.com/quicks...)

Connect with Sauce Labs on Social Media
LinkedIn:   / sauce-labs  
Twitter: @saucelabs