Skip to main content

Browser activities

1. Chrome.py

Here you can find ChromeBrowser class. This class is used to create a browser object. It Heritages from the Chrome class and implements some custom methods to make browser automation easier.

Arguments:

  1. driver_path: path to the driver
  2. undetectable: if True, the browser will not be detected by antispam systems.

Attributes:

  1. driver_path: path to the driver
  2. undetectable: if True, the browser will not be detected by antispam systems.
  3. chrome_version: version of chrome
  4. options: options for the browser

Custom Methods:

  1. open(): open the browser and load defined options.
  2. ignore_images(): ignore images in the browser.
  3. ignore_popups(): ignore popups in the browser.
  4. ignore_notifications(): ignore notifications in the browser.
  5. ignore_errors(): ignore errors in the browser.
  6. headless(): open the browser in headless mode.
  7. save_cookies(): save the cookies of the browser.
  8. load_cookies(): load the cookies of the browser.
  9. set_proxy(proxy): set a proxy for the browser.
  10. set_user_agent(user_agent): set a user agent for the browser.
  11. set_profile(path): set a profile for the browser.
  12. scrolldown(h): scroll down to % height of the page .
  13. scrollup(h): scroll up to % height of the page .
  14. scroll_to_element(element): scroll to the element.
  15. set_download_folder(folder): set the download folder.
  16. element_exists(element): check if the element exists.
  17. add_tab(): add a new tab.
  18. get_tabs(): get the tabs of the browser.
  19. close_tab(): close the current tab.
  20. switch_to_tab(tab_number): switch to the tab.
  21. wait_for_element(element, timeout): wait for the element to appear.
  22. wait_for_element_to_disappear(element, timeout): wait for the element to disappear.
  23. wait_for_element_to_be_clickable(element, timeout): wait for the element to be clickable.

2. firefox.py

Here you can find FirefoxBrowser class. This class is used to create a browser object. It Heritages from the Firefox class and implements some custom methods to make browser automation easier.

Arguments:

driver_path: path to the driver undetectable: if True, to hide bot info in the browser.

Attributes:

  1. driver_path: path to the driver
  2. undetectable: if True, to hide bot info in the browser.

Methods:

  1. open(): This method opens firefox browser to start the navigation. Set Custom options before using this method.
  2. ignore_images(): This method ignores images in the browser.
  3. ignore_popups(): This method ignores popups in the browser.
  4. ignore_notifications(): This method ignores notifications in the browser.
  5. ignore_errors(): This method ignores errors in the browser.
  6. headless(): This method ignores
  7. save_cookies(): This method saves cookies in the browser.
  8. load_cookies(): This method loads cookies in the browser.
  9. set_proxy(): This method sets proxy in the browser.
  10. set_user_agent(): This method sets user agent in the browser.
  11. set_profile(): This method sets profile in the browser.
  12. set_download_folder(): This method sets download folder in the browser.
  13. scrolldown(): This method scrolls down the browser.
  14. scrollup(): This method scrolls up the browser.
  15. scroll_to_element(): This method scrolls to the element in the browser.
  16. element_exists(): This method checks if the element exists in the browser.
  17. add_tab(): This method adds a new tab in the browser.
  18. get_tabs(): This method gets all the tabs in the browser.
  19. switch_tab(): This method switches to the tab in the browser.
  20. wait_for_element(): This method waits for the element in the browser.
  21. wait_for_element_to_disappear(): This method waits for the element to disappear in the browser.
  22. wait_for_element_to_be_clickable(): This method waits for the element to be clickable in the browser.

3. web_elements.py

Custom WebElement class to add custom methods to WebElement class.

Methods:

  1. double_click() : Double click on the element.
  2. enter(): Enter text in the element.
  3. tab(): Tab on the element.
  4. escape(): Escape on the element.
  5. backspace(): Backspace on the element.
  6. write(text): Write text in the element.
  7. clear(): Clear the element.
  8. get_text(): Get text from the element.
  9. get_link(): Get link from the element.
  10. get_attribute(attribute): Get attribute from the element.

Release files for ibott-browser-manager 1.0.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ibott-browser-manager 1.0.9
File Size Uploaded
ibott_browser_manager-1.0.9.tar.gz 24.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ibott-browser-manager 1.0.9
File Interpreter ABI Platform
ibott_browser_manager-1.0.9-py3-none-any.whl Python 3 none any Details

Total release size: 48.0 kB

Release files / ibott_browser_manager-1.0.9.tar.gz

Download URL ibott_browser_manager-1.0.9.tar.gz
Size 24.3 kB
Tags Source
SHA-256 checksum
How to use checksums
8ea1c09fef3b8d0d811769ff7206d45404644a843e754f9f1c035e7e6aebf667
BLAKE2b-256 checksum
How to use checksums
579d2070efce14b59297eb684e431b75233a0ece134bdba194f049aa0dc49eca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release files / ibott_browser_manager-1.0.9-py3-none-any.whl

Download URL ibott_browser_manager-1.0.9-py3-none-any.whl
Size 23.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
87d3d516fb14e1faab8d1c2f842f8f3c246ed4c9f381507895a9d9c9dab6854c
BLAKE2b-256 checksum
How to use checksums
6401298b815594fa7772164fc1ce89fa7043e4f8c2327aff8a45988a0e035451
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release history Release notifications | RSS feed

This release

1.0.9 This release

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page