Accessor in Selenium

0 votes
When do we use accessors in selenium? What is the use of a Accessor in Selenium? Please help.
Feb 9, 2019 in Selenium by Suresh
546 views

1 answer to this question.

0 votes

Accessor is one of the type of Selenese. Accessors are used for storing the value of a target in a variable. Accessors can also be used for evaluating the result and storing the result in a variable. Here are few most commonly used Accessors:-

  1. storeTitle – This will store the title of a window in a variable.
  2. storeText – This will store the target element text in a variable.
answered Feb 11, 2019 by Daniel

Related Questions In Selenium

0 votes
4 answers

How to specify "ENTER" button functionality in Selenium WebDriver code?

using OpenQA.Selenium.Interactions; Actions builder = new Actions(driver); ...READ MORE

answered Feb 12, 2019 in Selenium by anonymous
42,935 views
0 votes
2 answers

How can we take screenshots of tests in Selenium 2 using C#

Hey, try using following code command to ...READ MORE

answered Aug 22, 2019 in Selenium by Abha
• 27,930 points
336 views
0 votes
1 answer

Selenium ChromeDriver issue - Want to run it in background, but not as headless browser

This is a flaw with ChromeDriver. Tried ...READ MORE

answered Mar 26, 2018 in Selenium by nsv999
• 5,520 points
3,670 views
0 votes
2 answers

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,520 points
3,750 views
0 votes
2 answers

Problem while using InternetExplorerDriver in Selenium WebDriver

enable trusted connection  in internet explorer by ...READ MORE

answered Aug 31 in Selenium by Sri
• 2,970 points
4,733 views
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,890 points
2,726 views
0 votes
2 answers

How to use such xpath to find web elements

xpath are two types. 1) Absolute XPath:    /html/b ...READ MORE

answered Sep 2 in Selenium by Sri
• 2,970 points
3,076 views
0 votes
1 answer

Find broken link in a webpage using selenium

You have to follow these steps to ...READ MORE

answered Jan 8, 2019 in Selenium by Sona
614 views
0 votes
1 answer

Verification points in Selenium

There are basically three verification points that ...READ MORE

answered Feb 11, 2019 in Selenium by Fred
619 views