Is there a way to pass a global variable into an $$eval function?

后端 未结 0 1067
孤街浪徒
孤街浪徒 2020-12-14 10:35

I am using page.$$eval to assess div#Menu in the browser context. I however need to pass the value in a const variable, myVar, into the browser context to perform comparison

相关标签:
回答
  • 消灭零回复
提交回复
热议问题