In Selenium IDE, how to get the value of the base url

后端 未结 7 1515
栀梦
栀梦 2021-02-04 01:19

Is it possible to retrieve the value of the base url from inside a Selenium script (a plain HTML-saved script from Selenium IDE)?

What I\'m trying to do

7条回答
  •  遥遥无期
    2021-02-04 02:17

    Using Selenium IDE, this is do able without storing the $(host) value.

    Command: open
    Target: */login
    Value:
    

    This snippet string-match patterns available in the Selenium Core [Source].

提交回复
热议问题