I tried all the above ways to click on the Find It button but i am not getting the response
Button : Find it
Source Code
<input class="piejs" ng-hide="type=='bff'" value="Find it" ng- click="handleSubmit($event)" type="submit">
Can you please help in getting the result ?
Here is the solution for your Question:
Use one of the following options to click on "FIND IT" button:
xpath (with class attribute):
driver.findElement(By.xpath("//input[@class='piejs']")).click();
xpath (with value attribute):
driver.findElement(By.xpath("//input[@value='Find it']")).click();
Let me know if this helps you.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.