Giter Club home page Giter Club logo

selenium_metamask_auto_testing's Introduction

selenium_metamask_auto_testing

version status license star, issue

项目简介

使用selenium实现对测试网项目的自动化测试

更新日志

  • Version 1.0.2:
    • 支持使用changeNetworkByChainList()方法添加并切换指定网络。
  • Version 1.0.1:
    • 支持使用addAndChangeNetwork()方法添加并切换网络。
  • Version 1.0:
    • 初始提交。

现已支持

zkSync2.0 | muteSwitch >查看详情<(可能已失效)

感谢

感谢 selenium_metamask_automation 项目提供了对MetaMask插件的操作参考。
感谢 zlexdl.eth 大佬,收集整理了非常多的测试网教程。
感谢 此列表 中所有的教程作者。

selenium_metamask_auto_testing's People

Contributors

luoyeeth avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

selenium_metamask_auto_testing's Issues

📌 Follow the Step-by-Step Guide to Claim Your $700 Now!

Introduction:

Welcome to the exciting world of crypto airdrops! Here's a curated list of active airdrops that you wouldn't want to miss. Dive in and explore the opportunities:

📌 Follow the Step-by-Step Guide to Claim Your Tokens!

  1. Share on Social Media:

    🚀 Claim Your Share: Pyth Network Airdrop 🚀 Unlock the potential of $PYTH tokens in this step-by-step guide. Claim yours now! Share on Twitter

    — Pyth Network (@pythnetwork) November 28, 2023
  2. Verify Eligibility:
    After sharing and connecting your walle

Active Airdrops:

  1. Layer Zero Airdrop

    Layer Zero Banner
  2. Pyth Network Airdrop

    Pyth Network Banner
  3. Mantle Network Airdrop

    Mantle Network Banner

运行的时候总是出现这个错误Timed out receiving message from renderer: 10

selenium写的脚本加载metamask,运行的时候总是出现这个错误Timed out receiving message from renderer: 10,本地运行没有问题

selenium.common.exceptions.WebDriverException: Message: unknown error: failed to wait for extension background page to load: chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/background.html
from timeout: Timed out receiving message from renderer: 10.000

相关代码:
`class MetaMaskUnit:
home_url = f'chrome-extension://{ExtensID}/home.html'

def Install_Chrome(self, drive_path, extensions_path):
    global driver
    chrome_service = Service(drive_path)
    opt = webdriver.ChromeOptions()
    opt.add_extension(extensions_path)
    opt.add_experimental_option('excludeSwitches',['enable-automation'])
    driver = webdriver.Chrome(service=chrome_service,chrome_options=opt)
    return driver`

网上查了很多资料,都没办法解决,很多出这个问题是开启了无头模式,但是我这里什么都没有开,也是出这个问题。打包出去纯净win10系统运行不了。源文件在其他机器上运行也是这个问题

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.