Skip to content

A generic library to control the browser based on selenium.

Notifications You must be signed in to change notification settings

songxf1024/selenium_browser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

selenium_browser

A generic library to control the browser based on selenium.

installation

pip install selenium webdriver_manager seleniumbase requests

usage

from browser import Browser

browser = Browser()
driver = browser.open_browser(start_url='http://xfxuezhang.cn', proxy='http://127.0.0.1:7890')
driver.get('https://myip.ipip.net/')
browser.wait_loading()
time.sleep(5)
driver.get('https://bot.sannysoft.com/')
browser.wait_loading()
try:
    time.sleep(600)
except Exception as e:
    print('done!')
finally:
    browser.quit_browser()

image

About

A generic library to control the browser based on selenium.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages