Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unknown error - 33: Unable to create session from #300

Open
work-ixiaozi-cn opened this issue Oct 2, 2022 · 0 comments
Open

unknown error - 33: Unable to create session from #300

work-ixiaozi-cn opened this issue Oct 2, 2022 · 0 comments

Comments

@work-ixiaozi-cn
Copy link

my code

	caps := selenium.Capabilities{
		"browserName": "chrome",
		"chromeOptions": map[string]interface{}{
			"excludeSwitches": [1]string{"enable-automation"},
		},
	}
	caps.AddChrome(chrome.Capabilities{
		Path: 				"",
		Args:             []string{},
	})
	driver, err := selenium.NewRemote(caps, "http://127.0.0.1:8095/wd/hub")
       if err != nil {
		log.Fatal("=================", err)
	}

debug error

2022/10/02 21:27:25 =================unknown error - 33: Unable to create session from {
  "desiredCapabilities": {
    "browserName": "chrome",
    "chromeOptions": {
      "w3c": false
    },
    "goog:chromeOptions": {
      "w3c": false
    }
  },
  "capabilities": {
    "firstMatch": [
      {
        "browserName": "chrome",
        "goog:chromeOptions": {
          "w3c": false
        }
      }
    ]
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant