Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 98819

How can I access a button to click it with following code in selenium webdriver?

$
0
0

There are many buttons sharing the same class. May have to go with clicking the link /account/logout'.

This is the code I'm trying to use:

input class="btnRed text-uppercase fo_white" value="Logout" onclick="window.location.href='/account/logout';" type="button"

Viewing all articles
Browse latest Browse all 98819

Trending Articles



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