Giter Site home page Giter Site logo

Plugin support about playwright-go HOT 6 CLOSED

tejaskumark avatar tejaskumark commented on May 28, 2024
Plugin support

from playwright-go.

Comments (6)

canstand avatar canstand commented on May 28, 2024
  1. playwright-go won't support stealth. page.AddInitScript inject js may be useful.
  2. You can use BrowserContext.GrantPermission

from playwright-go.

tejaskumark avatar tejaskumark commented on May 28, 2024

@canstand Thanks for the help.

  1. playwright-go won't support stealth. page.AddInitScript inject js may be useful.
    Answer - If possible can you please give exampe of.
  2. You can use BrowserContext.GrantPermission
    Answer - Issue here is, I do not want to grant permission and whenever I open page it gives this pop up and I am stuck over that page forever. As far as I understood playwright, id can not control this pop up as of now. Is my understanding correct?

from playwright-go.

canstand avatar canstand commented on May 28, 2024
  1. try inject script here, but I didn't test
  2. reference upstream, for chromium

from playwright-go.

tejaskumark avatar tejaskumark commented on May 28, 2024

@canstand Thanks for the help.

  • I can confirm that even after adding that script it does not work, also no error. I directly added this script
  • My goal was to automate join google meet automated way, but somehow google is able to distinguish between browser opened over CDP(it never start meet) vs manually opened(it will start joining process).
  • I wanted to suppress browser notification for firefox, somehow these two settings helped me media.navigator.enabled && media.navigator.permission.disabled, and now it doesn't show browser notification.

from playwright-go.

ashirbadXcdify avatar ashirbadXcdify commented on May 28, 2024

Any upadte on this. It will be helpful if we have blockpermission along with grantpermission

from playwright-go.

canstand avatar canstand commented on May 28, 2024

I can confirm inject JS works. #282 (comment)

from playwright-go.

Related Issues (20)

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.