Playwright

 view release on metacpan or  search on metacpan

bin/playwright_server  view on Meta::CPAN

// Stuff like this is why I don't usually use frameworks, just chunk it dawg
var MAX_REQUEST_SIZE = env.MAX_REQUEST_SIZE;

// Defines our interface
// let sharedir = require.resolve('playwright'); // api.json should be shipped with playwright itself
// var theFile = path.dirname(sharedir) + '/api.json';
// let rawdata = fs.readFileSync(theFile);

// This is automatically inserted via sed
let spec =
[{"name":"APIRequest","spec":[{"type":"text","text":"Exposes API that can be used for the Web API testing. This class is used for creating↵`APIRequestContext` instance which in turn can be used for sending web requests. An instance↵of this class ...

function arr2hash (arr,primary_key) {
    var inside_out = {};
    for (var item of arr) {
        inside_out[item.name] = item;
    }
    return inside_out;
}

var fix_it=false;

bin/playwright_server.bat  view on Meta::CPAN

// Stuff like this is why I don't usually use frameworks, just chunk it dawg
var MAX_REQUEST_SIZE = env.MAX_REQUEST_SIZE;

// Defines our interface
// let sharedir = require.resolve('playwright'); // api.json should be shipped with playwright itself
// var theFile = path.dirname(sharedir) + '/api.json';
// let rawdata = fs.readFileSync(theFile);

// This is automatically inserted via sed
let spec =
[{"name":"APIRequest","spec":[{"type":"text","text":"Exposes API that can be used for the Web API testing. This class is used for creating↵`APIRequestContext` instance which in turn can be used for sending web requests. An instance↵of this class ...

function arr2hash (arr,primary_key) {
    var inside_out = {};
    for (var item of arr) {
        inside_out[item.name] = item;
    }
    return inside_out;
}

var fix_it=false;

lib/Playwright/Page.pm  view on Meta::CPAN

sub isClosed {
    my $self = shift;
    return $self->_api_request(
        args    => [@_],
        command => 'isClosed',
        object  => $self->{guid},
        type    => $self->{type}
    );
}

sub popup {
    my $self = shift;
    return $self->_api_request(
        args    => [@_],
        command => 'popup',
        object  => $self->{guid},
        type    => $self->{type}
    );
}

sub content {
    my $self = shift;
    return $self->_api_request(
        args    => [@_],
        command => 'content',

lib/Playwright/Page.pm  view on Meta::CPAN

Execute the Page::hideHighlight playwright routine.

See L<https://playwright.dev/docs/api/class-Page#Page-hideHighlight> for more information.

=head2 isClosed(@args)

Execute the Page::isClosed playwright routine.

See L<https://playwright.dev/docs/api/class-Page#Page-isClosed> for more information.

=head2 popup(@args)

Execute the Page::popup playwright routine.

See L<https://playwright.dev/docs/api/class-Page#Page-popup> for more information.

=head2 content(@args)

Execute the Page::content playwright routine.

See L<https://playwright.dev/docs/api/class-Page#Page-content> for more information.

=head2 getByPlaceholder(@args)

Execute the Page::getByPlaceholder playwright routine.



( run in 0.632 second using v1.01-cache-2.11-cpan-364913b4093 )