The XPath expression //temperature[city="Berlin"]/text() will return the temperature in Berlin, which is 24.
Question 2
Which of the following is NOT part of a CSS rule-set?
Options:
A.
Selector
B.
Declaration
C.
Property
D.
Variable
Answer:
D
Explanation:
Explanation:
A CSS rule-set consists of a selector and a declaration. The selector specifies which element(s) to style, and the declaration contains the property and the value which define how the element will be styled. Variables are not part of a CSS rule-set.
Question 3
Given the following piece of code:
Which page will be displayed in the web browser after its execution?
Options:
A.
httpsV/perl.org
B.
httpsZZpython.org
C.
Browser's home page
D.
The page cannot be determined
Answer:
B
Explanation:
Explanation:
After executing the code, the web browser will display the page at as the driver.back() method will navigate the browser back to the previous page, which is