Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
Which CSS selector will locate a element with ID containing the text userName?
Home
Selenium
Which CSS selector will locate a element with ID containing the text userName?
0
votes
asked
Jan 31, 2020
in
Selenium
by
SakshiSharma
Which CSS selector will locate a element with ID containing the text userName?
input[id^='_userName']
input[id$='_userName']
input[id*='_userName']
None of these
#selenium-elements
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jan 31, 2020
by
Robindeniel
input[id*='_userName']
Your comment on this answer:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Related questions
0
votes
Q: Which of the following is usually used to find an specific element on a page?
asked
Jan 31, 2020
in
Selenium
by
SakshiSharma
#selenium-elements
0
votes
Q: When you use these locators ID, Name, XPath, Or CSS Selector?
asked
Dec 25, 2020
in
Selenium
by
SakshiSharma
#locator-id
#xpath
css-selector
0
votes
Q: In WebDriver Selenium, which of the following variation helps to finds elements based on the driver's underlying CSS selector engine?
asked
Jan 31, 2020
in
Selenium
by
SakshiSharma
#selenium-webdriver
0
votes
Q: You have to use ‘Xpath’ to locate the following input element:
asked
Jan 30, 2020
in
Selenium
by
rajeshsharma
#selenium-xpath
0
votes
Q: In selenium IDE what are the element locators that can be used to locate elements on web page?
asked
Aug 19, 2019
in
Selenium
by
rahulsharma
#selenium-for-load-testing
selenium-bot-detection
selenium-for-ios
ios-selenium
automated-visual-testing-
selenium
load-testing-selenium
python-selenium
selenium-online-training-videos
learning-selenium
-syllabus
selenium-tools-for-testing
selenium-element
0
votes
Q: ID selector is used with _________
asked
Feb 7, 2020
in
JAVA
by
rajeshsharma
#jquery-id-selector
Java-questions-answers
0
votes
Q: Select which are NOT the type of the locaters. a) ID b) Name c) Password d) Link Text
asked
Jan 30, 2020
in
Selenium
by
Deepanshu Burreja
0
votes
Q: Which of the selector type has highest priority in NativeScript CSS?
asked
Aug 8, 2021
in
NativeScript
by
rajeshsharma
nativescript-css
0
votes
Q: What are the differences between the class selector and id-selector?
asked
Feb 11
in
CSS
by
DavidAnderson
css-interview-questions-answers
0
votes
Q: What is the difference between the ID selector and class selector in jQuery?
asked
Nov 17, 2020
in
JQuery
by
rajeshsharma
jquery-class-selector
class-selector
selector-class
...