无法在Mac上使用Selenium启动Chrome

时间:2018-03-31 11:17:54

标签: java selenium

我创建了一个简单的类来启动chrome并在终端上方。请帮忙

是否与运行配置或Chrome驱动程序或Selenium相关?

谢谢

---------------------终端输出----------------------- ----------

utun0
   address.getHostName() = fe80:0:0:0:913a:9964:17c6:7e52%utun0
   address.getHostAddress() = fe80:0:0:0:913a:9964:17c6:7e52%utun0
   address.isLoopbackAddress() = false
awdl0
   address.getHostName() = fe80:0:0:0:945c:94ff:feb0:86a%awdl0
   address.getHostAddress() = fe80:0:0:0:945c:94ff:feb0:86a%awdl0
   address.isLoopbackAddress() = false
en0
   address.getHostName() = 2a02:c7d:e291:e600:50d0:d083:9852:f961%en0
   address.getHostAddress() = 2a02:c7d:e291:e600:50d0:d083:9852:f961%en0
   address.isLoopbackAddress() = false
   address.getHostName() = 2a02:c7d:e291:e600:1843:bc63:8c3d:c266%en0
   address.getHostAddress() = 2a02:c7d:e291:e600:1843:bc63:8c3d:c266%en0
   address.isLoopbackAddress() = false
   address.getHostName() = fd1a:d88c:5538:0:4cfc:4f03:a79e:6e8c%en0
   address.getHostAddress() = fd1a:d88c:5538:0:4cfc:4f03:a79e:6e8c%en0
   address.isLoopbackAddress() = false
   address.getHostName() = fd1a:d88c:5538:0:1cb2:a9ed:441d:5d61%en0
   address.getHostAddress() = fd1a:d88c:5538:0:1cb2:a9ed:441d:5d61%en0
   address.isLoopbackAddress() = false
   address.getHostName() = fe80:0:0:0:ca7:8010:3bdf:211d%en0
   address.getHostAddress() = fe80:0:0:0:ca7:8010:3bdf:211d%en0
   address.isLoopbackAddress() = false
   address.getHostName() = nileshs-mbp
   address.getHostAddress() = 192.168.0.57
   address.isLoopbackAddress() = false
lo0
   address.getHostName() = fe80:0:0:0:0:0:0:1%lo0
   address.getHostAddress() = fe80:0:0:0:0:0:0:1%lo0
   address.isLoopbackAddress() = false
   address.getHostName() = localhost
   address.getHostAddress() = 0:0:0:0:0:0:0:1%lo0
   address.isLoopbackAddress() = true
   address.getHostName() = localhost
   address.getHostAddress() = 127.0.0.1
   address.isLoopbackAddress() = true
Loopback interface LO:
lo0
   address.getHostName() = fe80:0:0:0:0:0:0:1%lo0
   address.getHostAddress() = fe80:0:0:0:0:0:0:1%lo0
   address.isLoopbackAddress() = false
   address.getHostName() = localhost
   address.getHostAddress() = 0:0:0:0:0:0:0:1%lo0
   address.isLoopbackAddress() = true
   address.getHostName() = localhost
   address.getHostAddress() = 127.0.0.1
   address.isLoopbackAddress() = true

0 个答案:

没有答案