Browser

splinter.browser.Browser(driver_name: str = 'firefox', retry_count: int = 3, config=None, *args, **kwargs)[source]

Get a new driver instance.

Extra arguments will be sent to the driver instance.

If there is no driver registered with the provided driver_name, this function will raise a splinter.exceptions.DriverNotFoundError exception.

Parameters:
driver_name : str

Name of the driver to use.

retry_count : int

Number of times to try and instantiate the driver.

Returns:

Driver instance