Questions tagged [webengine]
64 questions
2
votes
1 answer
PyQt5 + QtWebEngine get html element?
everyone! I want port my project from Qt WebKit to Qt WebEngine! Currently I want to get the html elemnt.
I use PyQt5 + QT 5.8.
My get elment func:
def get_elment(self,selector,func):
js = '''
function r()
{
var…

bestren
- 89
- 11
2
votes
0 answers
img tag empty in generated HTML using JavaFX
I am trying to get the html of flipkart website search by using the JavaFX frameweork.
The below code works well by getting me the html output though with a small glitch.
BTW I am using this generated html to scrape through the flipkart website. The…
user7054018
2
votes
1 answer
How to send HTTPHeader using QT WebEngine?
I was playing around with QT WebEngine to make a desktop web browser which suits my requirements while working. Unfortunately, I need send some data with the HTTP Header to a site. I came across QWebEngineUrlRequestInfo class' void…

Akash Agarwal
- 2,326
- 1
- 27
- 57
1
vote
0 answers
WebView/WebEngine fails with GluonMobile, GraalVM22, JavaFX 17
I built a simple app using WebView/WebEngine using Gluon Mobile but the WebView fails with a unsatisfiedlink error. It works fine with gluonfx:run and so I then ran gluonfx:runagent to get all the reflection stuff etc. I then run gluonfx:build but…

Chris Powell
- 63
- 6
1
vote
1 answer
Electron: Why does BrowserView has better performance then Webview?
I've read about both Webview and BrowserView, They seem to do the same thing: Embed additional web content into application. I know that Electron's webview tag is based on Chromium's webview and this API is part of the deprecated Chrome Apps…

Rasty
- 303
- 3
- 14
1
vote
2 answers
upcall to javafx from javascript
I have a problem. I have two classes in same javafx package. A single html file with javascript at the head section, a java class(extending Application). Now the problem is when i tried to click the button after the page is displayed in the javafx…

Lucky
- 21
- 3
1
vote
1 answer
Can the Chromium Engine be supported in vb.net?
Microsoft Edge has officially started using Chromium as its WebEngine.
Will this change, affect the "WebBrowser" control of VB.net in Visual Studio and if so, how?
Will Internet Explorer's WebEngine Engine, "Trident" or Chromium be used?

Gerassimos Moutafis
- 13
- 6
1
vote
0 answers
Find out iFrame in HTML content in WebEngine (JavaFX)
I'm trying to show url content in a WebEngine (using JavaFX).
I'm trying to record user actions like mouse click, key press, in this page, basically for test automation.
When doing this, how will I know that I'm encountering an iFrame?
Once we click…

ssm
- 11
- 2
1
vote
2 answers
How to set value in LocalStorage of WebView JavaFX
I'm trying to save some values in the LocalStorage of WebView of JavaFX. Is it supported by WebView? About html5test.com, the LocalStorage is enabled, but I don't find any solution to save data with Javascript in the LocalStorage.

Étienne Thibault
- 11
- 1
1
vote
2 answers
call a java method from javascript in javafx
I have a javafx application. Initially it loads a login page using WebView. Login page takes user name and redirects to another page. In this html page I have a function inside javascript. I want to call a java method while executing the script. but…

sparrow
- 1,825
- 6
- 24
- 35
1
vote
1 answer
How to download and query html pages where JS processing is necessary?
I often compile informal datasets by running some kind of XPath/XQuery on publicly available web pages. Usually the structure of the HTML is regular enough that useful information can be extracted easily.
But today I've come across tunefind.com.…

William Rosenbloom
- 2,506
- 1
- 14
- 37
1
vote
1 answer
Materialize Icons doesn't work in JavaFX Browser
I'm trying to show MaterialIcons on my JavaFx WebBrowser using webEngine, but it just shows the description of the icon. Icons doesn't work also on IE and Safari. Does anyone know how to make it readable?

Kristian di Lillo
- 11
- 2
1
vote
0 answers
JavaFx 8 WebEngine and window.print() event
I use JavaFx 8 WebEngine (custom browser)
In my html page i have print button
document.querySelector('.check').onload = function() {
setTimeout(function() {
window.print();
}, 500)
}
I want by clicking on the button print - catch this with…

Atum
- 1,211
- 1
- 12
- 14
1
vote
1 answer
JavaFX WebEngine JavaScript Upcalls
In java Windows 10 pro x64 jre 1.8.0_60 the following code produces the intended output (After clicking the html button):
Hello World
However in java Windows 10 pro x64 jre 1.8.0_152 there seems to be some sort of disconnect, as it will not output…

Copy and Paste
- 496
- 6
- 16