相关疑难解决方法(0)

How to check if radio button is selected or not using Selenium WebDriver?

<div class="my_account_module_content">
<h3 class="my_account_module_content_title">
Mi Dirección 1
<br>
<span>Predeterminada</span>

<div class="selectCard_left">
<input id="17390233" class="default_shipping_address" type="radio" name="address" checked="true">
<span>Seleccionar como tarjeta predeterminada</span>
</div>
Run Code Online (Sandbox Code Playgroud)

this is the HTML code

If radio button selected is true then print the class span value? please help me..

selenium webdriver selenium-webdriver

4
推荐指数
1
解决办法
2万
查看次数

标签 统计

selenium ×1

selenium-webdriver ×1

webdriver ×1