Skip to main content
formatting
Source Link
Bharat Mane
  • 6.8k
  • 11
  • 41
  • 69

I am not able to click check box, I try some xpath and css and id but I am not able Unable to click on check boxcheckbox using XPath and CSS

I am not able to click the checkbox, I tried some XPath and CSS and id but I am not able to click on the checkbox

HTML Code:

<div class="row">
<table id="orderNoDropdown" class="table table-hover dataTable" aria-describedby="orderNoDropdown_info">
<thead>
<tr role="row">
<th class="checkBoxTh sorting_disabled" role="columnheader" rowspan="1" colspan="1">
<div class="checkbox checkbox-primary" style="float: right;">
<input id="thCheckBox" class="checkBox" type="checkbox"/>
<label for="thCheckBox" style="margin-bottom: 19px;"/>
</div>
</th>

XPath:

.//*[@id='orderNoDropdown']/thead/tr/th[1]/div/label

//th/div/label

CSS:

 div.checkbox.checkbox-primary > label

I am not able to click check box, I try some xpath and css and id but I am not able to click on check box

I am not able to click the checkbox, I tried some XPath and CSS and id but I am not able to click on the checkbox

HTML

<div class="row">
<table id="orderNoDropdown" class="table table-hover dataTable" aria-describedby="orderNoDropdown_info">
<thead>
<tr role="row">
<th class="checkBoxTh sorting_disabled" role="columnheader" rowspan="1" colspan="1">
<div class="checkbox checkbox-primary" style="float: right;">
<input id="thCheckBox" class="checkBox" type="checkbox"/>
<label for="thCheckBox" style="margin-bottom: 19px;"/>
</div>
</th>

XPath

.//*[@id='orderNoDropdown']/thead/tr/th[1]/div/label

//th/div/label

CSS

 div.checkbox.checkbox-primary > label

Unable to click on checkbox using XPath and CSS

I am not able to click the checkbox, I tried some XPath and CSS and id but I am not able to click on the checkbox

HTML Code:

<div class="row">
<table id="orderNoDropdown" class="table table-hover dataTable" aria-describedby="orderNoDropdown_info">
<thead>
<tr role="row">
<th class="checkBoxTh sorting_disabled" role="columnheader" rowspan="1" colspan="1">
<div class="checkbox checkbox-primary" style="float: right;">
<input id="thCheckBox" class="checkBox" type="checkbox"/>
<label for="thCheckBox" style="margin-bottom: 19px;"/>
</div>
</th>

XPath:

.//*[@id='orderNoDropdown']/thead/tr/th[1]/div/label

//th/div/label

CSS:

 div.checkbox.checkbox-primary > label

i I am not able to click check box,i I try some xpath and css and id but iI am not able to click on check box

iI am not able to click check boxthe checkbox,i try I tried some xpathXPath and cssCSS and id but iI am not able to click on check boxthe checkbox

  

i try xpath .//*[@id='orderNoDropdown']/thead/tr/th[1]/div/labelHTML

<div class="row">
<table id="orderNoDropdown" class="table table-hover dataTable" aria-describedby="orderNoDropdown_info">
<thead>
<tr role="row">
<th class="checkBoxTh sorting_disabled" role="columnheader" rowspan="1" colspan="1">
<div class="checkbox checkbox-primary" style="float: right;">
<input id="thCheckBox" class="checkBox" type="checkbox"/>
<label for="thCheckBox" style="margin-bottom: 19px;"/>
</div>
</th>

//th/div/labelXPath

.//*[@id='orderNoDropdown']/thead/tr/th[1]/div/label

//th/div/label

css=div.checkbox.checkbox-primary > labelCSS

 div.checkbox.checkbox-primary > label

i am not able to click check box,i try some xpath and css and id but i am not able to click on check box

i am not able to click check box,i try some xpath and css and id but i am not able to click on check box

 

i try xpath .//*[@id='orderNoDropdown']/thead/tr/th[1]/div/label

//th/div/label

css=div.checkbox.checkbox-primary > label

I am not able to click check box, I try some xpath and css and id but I am not able to click on check box

I am not able to click the checkbox, I tried some XPath and CSS and id but I am not able to click on the checkbox

 

HTML

<div class="row">
<table id="orderNoDropdown" class="table table-hover dataTable" aria-describedby="orderNoDropdown_info">
<thead>
<tr role="row">
<th class="checkBoxTh sorting_disabled" role="columnheader" rowspan="1" colspan="1">
<div class="checkbox checkbox-primary" style="float: right;">
<input id="thCheckBox" class="checkBox" type="checkbox"/>
<label for="thCheckBox" style="margin-bottom: 19px;"/>
</div>
</th>

XPath

.//*[@id='orderNoDropdown']/thead/tr/th[1]/div/label

//th/div/label

CSS

 div.checkbox.checkbox-primary > label
Source Link

i am not able to click check box,i try some xpath and css and id but i am not able to click on check box

i am not able to click check box,i try some xpath and css and id but i am not able to click on check box

i try xpath .//*[@id='orderNoDropdown']/thead/tr/th[1]/div/label

//th/div/label

css=div.checkbox.checkbox-primary > label