Comments (3)
Seems like there had previously been a .addNetwork()
method, but for some reason, it was deprecated.
Is there an alternative?
from dappeteer.
@Vxatz there doesn't seem to be an alternative from the API documentation
from dappeteer.
Seems like there had previously been a .addNetwork() method, but for some reason, it was deprecated.
Historically we have a lot of issues with adding a network over a MetaMask UI, and this feature is actually not so important for dapp dev as he needs to use EIP-3085 for better UX
Is there an alternative?
For an alternative, you can reference this test
Lines 133 to 138 in a41e6dd
that simple usage evaluation with EIP-3085
dappeteer/test/testPageFunctions/addNetwork.ts
Lines 1 to 27 in a41e6dd
from dappeteer.
Related Issues (20)
- Puppeteer always launch on background HOT 4
- Have trouble starting metamask HOT 9
- Is there a plan to support `puppeteer-extra` and related plugins ? HOT 2
- Whether or not we could run this tool in headless mode HOT 1
- How to connect to an existing browser with MetaMask already installed? HOT 1
- InvokeSnap method doesn't use the params in the rpc request
- Stuck when I use --proxy-server option HOT 1
- TypeError: page.waitForSelectorIsGone is not a function
- 24 word phrase import
- unable to switch to popup window, when trying to select account HOT 1
- Does not work on ubuntu 22.04 HOT 3
- metamask gets stuck on the "Let's get started" screen HOT 6
- Support for the Latest Metamask Version
- crash when to use setupMetaMask
- Version v10.31.0 (flask: false) not found! HOT 3
- Waiting for select '.network-display'
- Error: waitForXPath failed while using the setupMetaMask function HOT 2
- Version v11.0.0 (flask: false) not found! HOT 3
- Can't Import Private Key HOT 2
- Archive This Project
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dappeteer.