Questions tagged [cdp]
33 questions
3
votes
1 answer
Nightwatch - How to subscribe to CDP Events?
As you may already know, Nightwatch 2 now includes methods for making calls to CDP protocol.
So, I'm trying to capture network responses. I know that the "Network" target has to be enabled and also we have to subscribe a callback to the…

leonisimo
- 31
- 2
3
votes
1 answer
How to get all events on all DOM elements of a page visited by Puppeteer - basically getEventListeners
I am working on some Puppeteer powered website analytics and would really need to list all events on a page.
It's easy with "normal" JavaScript, so I thought I could just evaluate it in the Puppeteer and get to other tasks.
Well - it is not so easy…

Dag Eikesdal
- 43
- 5
1
vote
0 answers
In CDP how to update OneViewofProfile Id through (VisitorId, browserID)?
anyone from CDP certified guide me on this. what is the better approach to update CDP profile id, and how these below use cases are same. When 2 user are using same device, do they got the same visitor Id ?
One CDP platform I visit there i…

Touristic Indian
- 21
- 2
1
vote
0 answers
How can I get all 1st and 3rd party cookies from CDP for a given page?
What I need:
I need to get all the currently applicable cookies for a page state. For example, I navigate to a site in the US, the browser has a lot of cookies populated by that page. I then decline all cookies on that site. Afterwards the…

Rob Mount
- 21
- 4
1
vote
2 answers
How to get HTTP responseBody using Selenium, CDP, JavaScript
I am an AQA and testing an app. According to the test, after the button is clicked, I need to get the responseBody returned from the server, like we have in devtools - network tab. I have tried multiple Java and Python code examples found here,…

user19732833
- 11
- 2
1
vote
1 answer
Hive managed table issue to create a hive table from a hdfs location in CDP
I have a CDP 7.3.1 where using sqoop , I have loaded data from Postgres database table into HDFS location /ts/gp/node. Now I am trying to create a hive table on this. I get the below error. Please help
CREATE TABLE dsk.node
(
district string,
…

stacktesting
- 103
- 8
1
vote
1 answer
Read/Write with Nifi to Kafka in Cloudera Data Platform CDP public cloud
Nifi and Kafka are now both available in Cloudera Data Platform, CDP public cloud. Nifi is great at talking to everything and Kafka is a mainstream message bus, I just wondered:
What are the minimal steps needed to Produce/Consume data to Kafka from…

Dennis Jaheruddin
- 21,208
- 8
- 66
- 122
0
votes
0 answers
Record Iframe network call using selenium
I want to record iframe network calls using selenium CDP api . I am using selenium network interceptor to record website network call but unable to record for iframes .
I have already tried to disable features like IsolateOrigins,site-per-process…

Nilesh Kathait
- 1
- 1
0
votes
0 answers
Chrome DevTools Protocol: Unable to communicate with Google Chrome 112 via Websocket
1、My Google Chrome version is 114, Using commands:chrome.exe --remote-debugging-port=9222, open chrome, and using htpp://127.0.0.1:9222/json get webSocketDebuggerUrl(ws://localhost:9222/devtools/browser/b0b8a4fb-bb17-4359-9533-a8d9f3908bd8), unable…
0
votes
0 answers
Hue Pyspark connector using Livy - Increate spark driver memory for interactive sessions
We are using CDP private cloud 7.1.7 and have configured Hue connector for pyspark using livy. By default I can see the driver launches with 1GB memory and I need to increase this as some of the code we are running is failing due to OOM errors for…

sajinma
- 1
0
votes
0 answers
The Relationship between Chrome DevTools Protocol and Google Browser Version
When using Chrome 104 and below, obtain the http://127.0.0.1:9222/json After the webSocketDebuggerUrl link in, it is possible to make a ws connection. But when it comes to Chrome 114 version, ws is invalid. May I ask why? thanks
enter image…
0
votes
0 answers
How to get a success callback of session expire (inactivity) in Apache Unomi 2.0
I am using Apache Unomi 2.0. Apache Unomi is maintaining a sessionId, which represents a period of time during which a visitor or profile has been active, and all the events are bound to one sessionId, the running sessionId of that particular…

Puneet Makhija
- 31
- 5
0
votes
1 answer
How can I measure Total Blocking Time using new_cdp_session in Playwright tests?
I'm trying to measure total blocking time with in playwright tests using new_cdp_session.
There are a lot of different metrics in it, but there is no TBT (Total Blocking Time), LCP (Largest Contentful Paint) or CLS (Cumulative Layout Shift).
My…

Toki D
- 1
- 1
0
votes
1 answer
Automating Edge with CDP using VBA fails on Linkedin developer site
I'm trying to automate Edge browser with CDP using VBA written by ChrisK23
I prefer this method because I don't want to install Selenium drivers.
It works well with Google using the sample code but somehow it fails when working with the Linkedin…

rahmaddanis
- 13
- 5
0
votes
0 answers
Unable to Connect to Hive using jdbc with CDP version
Driver: com.cloudera.hive.jdbc41.HS2Driver
jdbc url:
jdbcUrl=jdbc:hive2://EXAMPLE.NET:10010/;AuthMech=1;KrbHostFQDN=EXAMPLE.NET/;KrbServiceName=hive;krbRealm=REALM;SSL=1;SSLTrustStore=FILE;SSLTrustStorePwd=PASS
Facing below…