【发布时间】:2018-11-04 21:53:23
【问题描述】:
我有 the_id 31 岁
如何在 selenium 中使用 js 访问该网址?
我一直在尝试:
store # not sure command to use here. Not "open" as that open up this window.
javascript{window.location.href = "/districts/${the_id}"}
dummy
但是${the_id} 没有被插值。
【问题讨论】:
-
是的,没错。
标签: javascript selenium href selenium-ide