Comments (4)
Running into the same issue :(
from crrri.
if you try and manually browse to http://localhost:9222/json/new on chrome it says:
"Using unsafe HTTP verb GET to invoke /json/new. This action supports only PUT verb."
So I guess the chrome API has changed?
If you look at the backtrace:
▆
1. └─chrome$connect()
2. └─self$connectToNewTab(callback = callback)
3. └─crrri::new_tab(...)
4. └─crrri:::fetch_json(host, port, secure, "new", url)
fetch_json
calls jsonlite::fromJSON which itself gets the URL using base::url which does a GET and not a PUT. So if this is the issue it is a bit cumbersome to change.
I did have a play and create a crrri:::fetch_json_PUT
and modified jsonlite to have a fromJSON_PUT
and it did then get past that error. Everything then worked but clearly this isn't a good long-term solution. A solution would be to not use fromJSON if a put is needed.
from crrri.
我在使用 java cdp4j 时使用 Session.create()也遇到了这个问题 : (
from crrri.
我在使用 java cdp4j 时使用 Session.create()也遇到了这个问题 : (
有时候没问题, 有时候有问题
from crrri.
Related Issues (20)
- Logic for returning results from a function that get XHR calls response body HOT 3
- How to send some value to web page and get the output saved or retrieved as dataframe HOT 12
- Can't create chromium instance on debian linux 10 HOT 1
- chrome_read_html HOT 6
- Run in Github Actions HOT 4
- Is possible to extract data from Power BI dashboard using crrri package?
- Select Dropdown not working
- Upload File HOT 1
- websites that don't like to be scraped HOT 1
- Document R6 class using new roxygen feature HOT 5
- Finalize a stable version ? HOT 1
- Add support and document about New Edge Chromium HOT 1
- Allow to load user profile in non-headless mode HOT 8
- add some more default flags to launch chromium
- Allow children to close parent connection HOT 2
- Suggestion: automatically find a free port if the specified is not. HOT 2
- Purge crrrri cache HOT 1
- switch CI to Github Actions HOT 2
- R 4.0.0 now runs donttest example
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crrri.