ContextNotFoundError: Cannot find context with specified id
是我在使用$时看到的错误
browser.actions.setValue("//*[@id='subjectLine']","James");
browser.executeScript("arguments[0].CodeMirror.setValue('" + p_subjectText + "');", codeMirror);
对此进行了尝试,但由于我认为未定义codemirror而无法使用。.这也是javascript,它对新文物没有帮助
我希望使用setValue甚至这里使用的https://codemirror.net/doc/manual.html#api
将James发送到主题行