上QQ阅读APP看书,第一时间看更新
Different Available WebDrivers
The previous chapter introduced the Selenium WebDriver architecture and WebDriver interface. We used Google Chrome with ChromeDriver to create a simple test. In this chapter, we will explore the WebDriver implementation for Mozilla Firefox, Microsoft Internet Explorer, Microsoft Edge, and Safari. With WebDriver becoming a W3C specification, all of the major browser vendors now support WebDriver natively. In this chapter, we will look at the following:
- Using driver-specific implementations for Mozilla Firefox, Google Chrome, Microsoft Internet Explorer and Edge, and Apple Safari
- Using the browser options class to execute tests in headless mode and use custom profiles
- Using mobile emulation with Google Chrome