How to Configure Browser Type#
Basic Usage#
If you want to use different types of browsers – for example, Firefox, Edge, Chrome, etc. – define this in the BrowserSettings
class:
Python | |
---|---|
Supported Browsers#
Name | Type | Notes |
---|---|---|
Chrome | BrowserType.CHROME | Default (except for Windows) |
Edge | BrowserType.EDGE | Default for Windows |
Firefox | BrowserType.FIREFOX | |
Internet Explorer | BrowserType.INTERNET_EXPLORER | |
Safari | BrowserType.SAFARI |
More information about installation of browser drivers.
How to Run Multiple Browsers#
When you have multiple browser drivers installed, you can run them in sequence like this: