0

I am trying to import the following git project github.com/tebeka/selenium

When I use standard Go dependency management, it is as simple as go get github.com/tebeka/selenium, and then

import ("github.com/tebeka/selenium"
        "github.com/tebeka/selenium/chrome")

However, when I try to do the same thing with vgo (modules), I'm getting the following error:

unknown import path "github.com/tebeka/selenium/chrome": cannot find module providing package github.com/tebeka/selenium/chrome

Go mod generates following go.mod file

module mymodule

require (
    github.com/BurntSushi/toml v0.3.1
    github.com/op/go-logging v0.0.0-20160315200505-970db520ece7
    github.com/tebeka/selenium v0.9.3
)
Jonathan Hall
  • 75,165
  • 16
  • 143
  • 189
kubastick
  • 461
  • 6
  • 12

0 Answers0