课程: Test Automation with Python: 4 The WebDriver Automation Architecture
免费学习该课程!
今天就开通帐号,24,100 门业界名师课程任您挑!
The WebDriver protocol
课程: Test Automation with Python: 4 The WebDriver Automation Architecture
The WebDriver protocol
- [Instructor] Okay, we've already looked at a bunch of the fundamental concepts we need to understand the WebDriver protocol. And this is the API that both Appium and Selenium expose. Earlier, we saw how HTTP and REST APIs can be used to allow clients and servers to interact over the internet by aligning their communication and standardizing it around ways of representing objects they both care about. In our case, Selenium and Appium act as the server in the client/server architecture and the test script acts as the client. So the client decides what should happen and the server receives a series of requests in order to be told what should happen, and then to actually perform the requested behavior and return any relevant information back as a response. Again, the specific format for this conversation is called the WebDriver protocol. Here's a definition of the WebDriver protocol I think we're now in a position to understand.…