This is my html source:
<div class="col s12">
<input type="checkbox" class="filled-in"
d="corresp-checkbox" data-class="jrnlCorrRef" data-note-
class="jrnlCorrAff" data-selector=".//*[@class='jrnlCorrRef']
[not(@data-track='del')]" data-type="checkBoxComponent" data-
validate="requiredField" data-save-type="setCorrespondingAuthor"
data-check-field="jrnlEmail" autocomplete="off" autocorrect="off"
autocapitalize="off" spellcheck="false">
<label
for="correspcheckbox" style="margin-
top:10px" contenteditable="false">Corresponding:
</label>
<div class="input-field">
<span class="text-line"
type="text" contenteditable="true" data-selector="//*
[@dataid=.//*
[@data-ref-type='corresp'][not(@data-track='del')]/@data-rid]|.//*
[@class='jrnlEmail']" data-class="jrnlEmail" data-
type="htmlComponent"
data-email="true" data-parent="jrnlAuthorGroup"></span>
<label
for="email" contenteditable="false">Email
</label>
</div>
</div>
absolute xpath from copy xpath receives click:
//[@id='compDivContent']/div/div[8]/div/div[2]/div[1]/div[5]/div/label
My own relative xpath throws error element not visible:
"//input[@class='filled-in']"
//label[@for='correspcheckbox']
xpath and update me same