I'm trying to scrape data from the public site. On the search page enter the search value and press the view button (normal submit)its shows the results.
normal browser view button clicks and shows the report as expected. but when I try to click the same button via the Webdriver code, the button clicks but the result was not shown.
Can anyone face this issue?
I tried the button click using XPath(//*[@id="b-form-submit"]/div/button
) with the below method
Click()
Submit()
Click using Javascript
Click using action class (keyboard event)
Button HTML code
<div class="b-button" id="b-form-submit">
<div class="b-button-container">
<span class="left">
<i></i>
</span>
<button alt="View" type="submit">View</button>
<span class="right">
<i></i>
</span>
</div>
</div>
When i try to click the view button manually from the webdriver (debug mode) its not wokring, but same its working normal web browser (all the browsers)