BaseSeleniumBrowser¶
- 
class paralytics.utils.BaseSeleniumBrowser(browser_name, executable_path=None)[source]¶
- Bases: - object- Base class for all scrapers built on top of the Selenium package. - Automates the use of the browser of user’s choice by implementing universal methods for web scraping with the Selenium package. - Parameters
- browser_name: str {Firefox, Chrome}
- Name of the browser that will be used to the web scraping with the Selenium package. 
- executable_path: str, optional (default=None)
- Path to the executable file adequate for the browser of your choice. If not specified then the only attempt to find an executable is made in the PATH. 
 
 - See also - Notes - It is recommended to decorate all classes inheriting from BaseSeleniumBrowser with paralytics.force_context_manager function. - Methods Summary - open_page(self, url, title)- Opens page with use of the passed url. - Methods Documentation