puppeteer-ruby 0.29.0 → 0.31.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +35 -2
- data/README.md +12 -8
- data/docs/api_coverage.md +359 -0
- data/lib/puppeteer.rb +5 -167
- data/lib/puppeteer/browser_runner.rb +1 -1
- data/lib/puppeteer/connection.rb +11 -1
- data/lib/puppeteer/dom_world.rb +141 -154
- data/lib/puppeteer/element_handle.rb +15 -11
- data/lib/puppeteer/env.rb +7 -3
- data/lib/puppeteer/frame.rb +31 -24
- data/lib/puppeteer/launcher/base.rb +8 -0
- data/lib/puppeteer/page.rb +129 -111
- data/lib/puppeteer/page/pdf_options.rb +15 -15
- data/lib/puppeteer/puppeteer.rb +164 -0
- data/lib/puppeteer/version.rb +2 -2
- data/lib/puppeteer/wait_task.rb +17 -22
- data/lib/puppeteer/web_socket.rb +2 -0
- data/lib/puppeteer/web_socket_transport.rb +2 -0
- data/puppeteer-ruby.gemspec +5 -2
- metadata +20 -12
- data/.circleci/config.yml +0 -92
- data/.github/ISSUE_TEMPLATE/bug_report.md +0 -17
- data/.github/ISSUE_TEMPLATE/feature_request.md +0 -15
- data/.github/stale.yml +0 -16
- data/.github/workflows/docs.yml +0 -45
- data/.github/workflows/reviewdog.yml +0 -15
- data/.gitignore +0 -19
- data/.travis.yml +0 -7
@@ -1,17 +0,0 @@
|
|
1
|
-
---
|
2
|
-
name: Bug report
|
3
|
-
about: Create a report to help us improve
|
4
|
-
title: ''
|
5
|
-
labels: ''
|
6
|
-
assignees: ''
|
7
|
-
|
8
|
-
---
|
9
|
-
|
10
|
-
### Step To Reproduce / Observed behavior
|
11
|
-
|
12
|
-
|
13
|
-
### Expected behavior
|
14
|
-
|
15
|
-
### Environment
|
16
|
-
|
17
|
-
Paste the output of `ruby --version`
|
@@ -1,15 +0,0 @@
|
|
1
|
-
---
|
2
|
-
name: Feature request
|
3
|
-
about: Request a new feature for playwright-ruby-client
|
4
|
-
title: ''
|
5
|
-
labels: ''
|
6
|
-
assignees: ''
|
7
|
-
|
8
|
-
---
|
9
|
-
|
10
|
-
### Simple description about the feature
|
11
|
-
|
12
|
-
|
13
|
-
### Usecase / Motivation
|
14
|
-
|
15
|
-
<!-- Describe why the feature helps. -->
|
data/.github/stale.yml
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
# Number of days of inactivity before an issue becomes stale
|
2
|
-
daysUntilStale: 14
|
3
|
-
# Number of days of inactivity before a stale issue is closed
|
4
|
-
daysUntilClose: 7
|
5
|
-
# Issues with these labels will never be considered stale
|
6
|
-
exemptLabels:
|
7
|
-
- security
|
8
|
-
# Label to use when marking an issue as stale
|
9
|
-
staleLabel: inactive
|
10
|
-
# Comment to post when marking an issue as stale. Set to `false` to disable
|
11
|
-
markComment: >
|
12
|
-
This issue has been automatically marked as stale because it has not had
|
13
|
-
recent activity. It will be closed if no further activity occurs. Thank you
|
14
|
-
for your contributions.
|
15
|
-
# Comment to post when closing a stale issue. Set to `false` to disable
|
16
|
-
closeComment: false
|
data/.github/workflows/docs.yml
DELETED
@@ -1,45 +0,0 @@
|
|
1
|
-
name: update docs
|
2
|
-
on:
|
3
|
-
push:
|
4
|
-
branches:
|
5
|
-
- master
|
6
|
-
|
7
|
-
jobs:
|
8
|
-
update-docs:
|
9
|
-
name: update docs
|
10
|
-
runs-on: ubuntu-latest
|
11
|
-
|
12
|
-
steps:
|
13
|
-
- name: Checkout
|
14
|
-
uses: actions/checkout@v2
|
15
|
-
|
16
|
-
- name: Set up Ruby
|
17
|
-
uses: ruby/setup-ruby@v1
|
18
|
-
with:
|
19
|
-
ruby-version: 2.7
|
20
|
-
|
21
|
-
- name: Install dependencies
|
22
|
-
run: |
|
23
|
-
gem uninstall bundler
|
24
|
-
gem install bundler -v 2.2.3
|
25
|
-
bundle install
|
26
|
-
|
27
|
-
- name: Deploy Configuration
|
28
|
-
run: |
|
29
|
-
mkdir ~/.ssh
|
30
|
-
ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts
|
31
|
-
echo "${{ secrets.DOCS_DEPLOY_SSH_RSA }}" | base64 -d > ~/.ssh/id_rsa
|
32
|
-
chmod 400 ~/.ssh/id_rsa
|
33
|
-
|
34
|
-
- name: Build and Push
|
35
|
-
run: |
|
36
|
-
git clone git@github.com:YusukeIwaki/puppeteer-ruby-docs.git docs
|
37
|
-
rm -rf docs/*
|
38
|
-
bundle exec yardoc -o docs
|
39
|
-
cp puppeteer-ruby.png docs/
|
40
|
-
cd docs/
|
41
|
-
git add -A
|
42
|
-
git config user.name github
|
43
|
-
git config user.email github@example.com
|
44
|
-
git commit -m ${{ github.sha }}
|
45
|
-
git push origin master
|
@@ -1,15 +0,0 @@
|
|
1
|
-
name: reviewdog
|
2
|
-
on: [pull_request]
|
3
|
-
jobs:
|
4
|
-
rubocop:
|
5
|
-
name: runner / rubocop
|
6
|
-
runs-on: ubuntu-latest
|
7
|
-
steps:
|
8
|
-
- name: Check out code
|
9
|
-
uses: actions/checkout@v2
|
10
|
-
- name: rubocop
|
11
|
-
uses: reviewdog/action-rubocop@v1
|
12
|
-
with:
|
13
|
-
github_token: ${{ secrets.github_token }}
|
14
|
-
reporter: github-pr-review
|
15
|
-
rubocop_version: 1.10.0
|
data/.gitignore
DELETED