philh_myftp_biz.web.driver¶
Module Contents¶
Classes¶
Firefox Web Driver |
API¶
- class philh_myftp_biz.web.driver.Element(webelement: selenium.webdriver.remote.webelement.WebElement)¶
Bases:
selenium.webdriver.remote.webelement.WebElement- property children¶
- __getattr__(name: str)¶
- class philh_myftp_biz.web.driver.Driver(headless: bool = True, eager: bool = False, timeout: int = 300, daemon: bool = True, user_data_dir: None | Path = None, profile_dir: None | str = None)¶
Firefox Web Driver
Initialization
- reload() None¶
Reload the Current Page
- run(code: str, log: bool = True)¶
Run JavaScript Code on the Current Page
- element(by: typing.Literal[class, id, xpath, philh_myftp_biz.web.driver.Driver.element.name, attr], name: str) list[philh_myftp_biz.web.driver.Element]¶
Get List of Elements by query
- open(url: str) None¶
Open a url
- close(*_) None¶
Close the Session
- __enter__() Self¶
- __exit__(*_) None¶
- property HTML: str | None¶
HTML of the Current Page
- property Soup¶