Giter Site home page Giter Site logo

Comments (11)

sushantmishra avatar sushantmishra commented on May 29, 2024 2

@yury-s Do we have a timeline for the next release , I mean by when we can expect this change to be available for use ?

from playwright-java.

yury-s avatar yury-s commented on May 29, 2024 2

It didn't make it to 1.43, so the earliest release it will be available in is 1.44. We are going to push 1.43 in the next few days, so 1.44 will be in about a month.

from playwright-java.

hzk007 avatar hzk007 commented on May 29, 2024

Hi, as the doc shown. https://playwright.dev/java/docs/api/class-page

Page provides methods to interact with a single tab in a Browser, or an extension background page in Chromium. One Browser instance might have multiple Page instances.

But how can I switch to background_pages?
For now ,I have already loaded extension and this extension already display in the page, but I don't known how to switch to the extension.

from playwright-java.

hzk007 avatar hzk007 commented on May 29, 2024

from the https://playwright.dev/docs/chrome-extensions, I have use the same launchPersistentContext to launch the chromium with java version, but lack of browserContext.backgroundPages()

from playwright-java.

yury-s avatar yury-s commented on May 29, 2024

Looks like the method is not exposed in Java API, we can fix that.

from playwright-java.

hzk007 avatar hzk007 commented on May 29, 2024

Looks like the method is not exposed in Java API, we can fix that.

thanks

from playwright-java.

hzk007 avatar hzk007 commented on May 29, 2024

Hi, yury-s How can I use the latest code for our project? could you give me some suggestion?

from playwright-java.

yury-s avatar yury-s commented on May 29, 2024

This will be published in the next release. Before that you can build the project from source.

from playwright-java.

hzk007 avatar hzk007 commented on May 29, 2024

It didn't make it to 1.43, so the earliest release it will be available in is 1.44. We are going to push 1.43 in the next few days, so 1.44 will be in about a month.

Hi,yury-s, how can I package this from source code? I wan to publish to our nexus with the latest code? But mvn install failed and seems need some configuration for package...

from playwright-java.

hzk007 avatar hzk007 commented on May 29, 2024

Hi, yury-s,we need this function for our automation project. could you give some instruction how to build the snapshot version?

from playwright-java.

yury-s avatar yury-s commented on May 29, 2024

Take a look at our yaml file:

- uses: actions/checkout@v2
- uses: microsoft/playwright-github-action@v1
- name: Set up JDK 1.8
uses: actions/setup-java@v2
with:
distribution: zulu
java-version: 8
- name: Download drivers
shell: bash
run: scripts/download_driver_for_all_platforms.sh
- name: Build & Install
run: mvn -B install -D skipTests --no-transfer-progress

There are also instructions in our contributing guide.

from playwright-java.

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.