I am trying to get the following code to work using nested quotes but I don't know how to triple nest them. Here's the code I have so far but it isn't working, I get
Runtime.evaluate threw exception: SyntaxError: Unexpected token &
driver.executeScript("$("li[data-drilldown='interests']").click()")
Just escape them:
driver.executeScript("$(\"li[data-drilldown='interests']\").click()");