1- Turn on Command Toggle to generate xpath and css Selector with command.


2- By default it will add the driver.findElement command on all xpath and css Selector after turning on the command toggle.


3- If you want to change the command, just click on the command input box. It will show some predefined commands, you can select any of them as per your need.

If your command is not there you can edit update the command, just replace the xpath with xpathvalue keyword.

For ex- if your command is driver_findBy(xpath(“//a[@id=’lo_kp’]”))

then the command will be 



Suppose if you want to generate cypress code, you can select cy.get(“xpathvalue”)


If you want to turn off the code and want just simple xpath and cssSelector, simple turn off the command toggle.