mirror of
https://gitee.com/g1879/DrissionPage.git
synced 2024-12-10 04:00:23 +08:00
1.5.3
This commit is contained in:
parent
1ecff10583
commit
32206e1d0e
19
README.en.md
19
README.en.md
@ -52,8 +52,25 @@ Keep everything simple, try to provide simple and direct usage, and be more frie
|
||||
# Project structure
|
||||
|
||||
***
|
||||
## Structure diagram
|
||||
|
||||

|
||||

|
||||
|
||||
## Drission Class
|
||||
|
||||
Manage the WebDriver object and Session object responsible for communicating with the web page, which is equivalent to the role of the driver.
|
||||
|
||||
## MixPage Class
|
||||
|
||||
MixPage encapsulates the common functions of page operation. It calls the driver managed in the Drission class to access and operate the page. Can switch between driver and session mode. The login status will be automatically synchronized when switching.
|
||||
|
||||
## DriverElement class
|
||||
|
||||
The page element class in driver mode can perform operations such as clicking on the element, inputting text, modifying attributes, running js, etc., and can also search for descendant elements at its lower level.
|
||||
|
||||
## SessionElement Class
|
||||
|
||||
The page element class in session mode can obtain element attribute values and search for descendant elements at its lower levels.
|
||||
|
||||
# Simple demo
|
||||
|
||||
|
475
README.zh-cn.md
475
README.zh-cn.md
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user