Unable to locate element | Selenium Forum
M
Posted on 18/11/2015
Hi Ashish,

I am working on exercise "Salesforce.com" provided in Training video 13.
I stuck when entering the lead information.

[b:30c1udk2]Below is for "Salutation"[/b:30c1udk2]
<select id="82:1872;a" class="compoundTLRadius compoundTRRadius compoundBorderBottom form-element__row select" size="1" aria-describedby="" data-aura-rendered-by="87:1872;a">

[b:30c1udk2]Below is for "First Name"[/b:30c1udk2]
<input id="92:1872;a" class="compoundBorderBottom form-element__row input" type="text" maxlength="40" aria-describedby="" placeholder="First Name" data-aura-rendered-by="96:1872;a"/>

I tried using xpath, classname it is not working.

Could you please guide me, how to locate the element.

Thanks,
Arun

M
Replied on 18/11/2015

use placeholder="first name"