how different language can be used to write selenium code
If you see how driver works,
It act as a intermediate between , client and browser.
So from code you call this API , and api sends instruction to driver, which talks to browser , browser send result to driver driver sends back to client through API.
eg elem.click() tells the api to invoke the code for click () , the
driver execute the code and sends command to browser to click, and
browser returns status to driver and driver returns the status back to
client through the API
So you can use any selenium language binding methods , what it does is it just call the API of the driver behind the screen.
so you can use any language , the libraries in each language has code to talk to this api .
Hence it doesn't matter what language you use as long as it is a webapp
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…