From the course: Python Automation and Testing
Unlock the full course today
Join today to access over 24,700 courses taught by industry experts.
Cross-browser support
From the course: Python Automation and Testing
Cross-browser support
- The Selenium WebDriver supports various browsers including Firefox, Chrome, Internet Explorer, and Safari. This is useful when you want to run a single script on multiple browsers to ensure that your code is compatible with all the browsers available. Selenium can also be extended to run on various systems and platforms. Here since we're checking for web UI support we're going to check cross-browser compatibility in specific. In the case of Firefox, the FirefoxDriver binary needs to be installed separately from the Python site and added to the system path. An instance of Firefox browser can be created through your code using the following line. Driver = webdriver.Firefox. Let me quickly shift to the browser and show you how the Firefox binary can be installed and added to your system path. The binaries for the various web drivers provided by Selenium can be installed from the following site selenium-python.readthedocs.io/installation.html. The driver is available for Chrome, Edge…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.