Giter Club home page Giter Club logo

puppeteer-sharp-contrib's People

Contributors

bukowa avatar hlaueriksson 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

puppeteer-sharp-contrib's Issues

Installation Guide

Hey it would be nice to add installation guide for guys new to C# (like me) πŸ₯‡

Why can't my innerText get the text?

Why can't my innerText get the text, run directly, the program is stuck, quick check, prompt: item.InnerText () The function evaluation requires all threads to run. String

await page.EvaluateExpressionAsync("document.querySelector(\"input[name='q']\").value=''");
await page.TypeAsync("input[name='q']", w, new PuppeteerSharp.Input.TypeOptions { Delay = 5 });
await page.Keyboard.PressAsync("Enter");
await page.WaitForNavigationAsync();
await page.WaitForTimeoutAsync(1500);
var list = await page.QuerySelectorAllAsync("#webPhrase>p");

foreach (var item in list)
{
     Console.WriteLine(item.InnerText());
}

does not work with PuppeteerSharp 3.0.0

e.g. ElementHandle eh = await page.QuerySelectorWithContentAsync("div> span", "Next");
results in:

error CS0012: The type 'ElementHandle' is defined in an assembly that is not referenced. You must add a reference to assembly 'PuppeteerSharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.

I had worked before updating PuppeteerSharp to version 3.0.0
Testet in .Net Framework 4.8

Hi, first thank you for this wonderful framework.

To make this a bit more extraordinary, I have this feature request.
In the ElementHandleExtensions class, within JS evaluation of the content regex

  @"(element, selector, regex) => {
                    var elements = element.querySelectorAll(selector);
                    return Array.prototype.find.call(elements, function(element) {
                        return RegExp(regex).test(element.textContent);
                    });
                }",``

Is it possible to extend the with a flag object RegExp(regex,flags), to pass modifiers like case-insensitive into the regex?
Cheers
Till

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.