0

在 GitHub Actions 中运行测试时会引发错误。无法弄清楚问题是什么。需要帮助。

我的测试

import time
from selenium import webdriver
from selenium.webdriver.common.desired_capabilities import DesiredCapabilities
 
driver = webdriver.Remote(

https://pastebin.com/V9Zfv4y1

我的工作流程

name: Tests
 
on: [push]
 
jobs:
  run-tests:
    runs-on: ubuntu-18.04

https://pastebin.com/PrqYievL

错误

name: Tests
 
on: [push]
 
jobs:
  run-tests:
    runs-on: ubuntu-18.04

https://pastebin.com/H324B51Q

通过修复 Python 脚本解决的问题

import time
from selenium import webdriver
from selenium.webdriver.common.desired_capabilities import DesiredCapabilities

https://pastebin.com/ATaSgUZp

4

0 回答 0