问,因为我遵循Guru99的时间敏感的硒课程和作为我的项目的一部分下载的代码不会作为Java应用程序运行。 它应该仅与该代码跑: import org.openqa.selenium.*;
import org.openqa.selenium.chrome.ChromeDriver;
public class TestScript01 {
public static void main
我目前可以在谷歌浏览器扩展程序创建一个文本菜单(右键菜单)如下: chrome.contextMenus.create({
title: "The name to click",
contexts:["selection"],
onclick: theFunctionToRun
});
不过,我想能够添加的文本菜单子菜单。我正在实现10个可通过右键单击菜单调用的