Quantcast
Channel: Selenium WebDriver how to get Button for WebElement - Stack Overflow
Viewing all articles
Browse latest Browse all 5

Selenium WebDriver how to get Button for WebElement

$
0
0

I have the following HTML code from a website login.

<button type="submit" class="btn ow-btn-primary btn-block-xs pull-right">
     <span class="glyphicon glyphicon-log-in"></span>
     "Log On"
</button>

and I want to be able to access the button in selenium. What code would I need in order to call upon it in java?


Viewing all articles
Browse latest Browse all 5

Latest Images

Trending Articles





Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>