Selenium IDE - Sample Interview Question (Junior Level)

How can you get the value of the base URL (in Selenium IDE)?

  1. |assertLocation | */some-page | |
  2. |assertLocation | baseURL + "/some-page" | |
  3. storeEval|window.document.domain|host
    assertLocation|http://${host}/some-page|
  4. None of the above
Tests in Selenium IDE for Juniors

Test Name Difficulty Time (minutes) No. of Questions
Selenium IDE Online Test for Juniors Selenium IDE Junior 20 10