I cannot open a browser setting as starting link Google site.
Here is my code:
WebUI.openBrowser('http://www.google.ie')
but unfortunately when I run it I can see this:
A tab is opening in Chrome, but url contains data:, instead http://www.google.ie
An exception is thrown
Unable to open browser with url: '' (Root cause: org.openqa.selenium.WebDriverException: unknown error: Chrome failed to start: crashed
What can be the cause? And most of all, what can be the solution?
you can try :
WebUI.openBrowser('')
WebUI.navigateToUrl('http://www.google.ie')
if any problem occurs please post it with error
thanks
I found the problem. I had a old Google Chrome version (47x) and it requires at minimum Google Chrome version 62x. Updated, finally works!
Thanks.
Related
Strangely, I am unable to deploy flutter apps via Flutter web since some days.
I have not problem running and debugging the Flutter app in a chrome browser via Android studio but once I try
flutter build web
the generated index.html file unter /build/web/ will show a blank page with these errrors:
Chrome error messages image
I started a completely new project so the error will not be due to my bad code writing :P
Can somebody help?
just change to <base href="./"> in index.html after you build the web.
Try remove .dart-tool folder in your project folder and rebuild your projcet.
I had the same error and changing index.html not worked. I solved it by removing .dart-tool folder in your project folder. After removing it, IDE shows some errors but flutter build web works fine.
Here is the origin link. https://github.com/flutter/flutter/issues/61464#issuecomment-924577391
just Clear browsing data in privacy and security
if not see any error in the console
This is an old question, but it seems to perpetuate (I also crashed into it). So here is what helped me to solve the problem:
The doc says:
Update the <base href="/"> tag in web/index.html to the path where your app is hosted.
In my case, it was htdocs/app, so base href become <base href="/app">, which fix the problem for me.
I can't use anymore flutter clean or doctor in command line in Android Studio 3.6.1.
When I try I have this message :
Downloading windows-x64/font-subset tools...
Download failed.
URL: https://storage.googleapis.com/flutter_infra/flutter/e1e6ced81d029258d449bdec2ba3cddca9c2ca0c/windows-x64/font-subset.zip
Error: 404 Not Found
I try to use gradlew clean. I had exactly the same message.
By the way flutter structure is empty when I open a flutter file and I don't have any completion or shortcut to go to functions (message: cannot find declaration to go to).
Do you have any clue to why it's happen and how to fix it?
Thanks
I found a solution.
I remove flutter.
I reinstall it and it's worked now.
If someone now why that's happen I am interested.
That's happened for some network issue, your network can not access the server.
More Details: https://github.com/flutter/flutter/issues/48030
Hope you will find your all answers and solutions.
Hallo I am trying t run my flutter application with Android Studio but i get every time this error:
Emulator: ERROR: resizing partition e2fsck failed with exit code 1
what can I do to fix this?
Other people answer to that question on SOF because many users had that problem.
If you search for "e2fsck failed with exit code 8" on Google you will find them.
Unfortunately, no one of them was able to help to overcome the problem for me.
My Solution
I solved this way (I hope it can help for someone): I download and installed the Android Emulator stable version from Android Official Site https://androidstudio.googleblog.com/2018/08/emulator-27310-stable.html.
I extracted all the files contained in the .zip and I dragged and dropped to the path %ANDROID_HOME%/tools where the emulator is located and it works.
Reguards.
I was trying to make modifications to the chrome developer tools and so I followed the steps listed here : https://developers.google.com/chrome-developer-tools/docs/contributing
and installed chrome build 155617 from continuous builds archive. And then I launch the chrome as follows :
chrome.exe --debug-devtools-frontend=C:\path\to\155617\devtools_frontend --remote-debugging-port=9222
When I try to inspect an element, I get the dev tools panel, however, none of the "Elements", "Resources" etc., panels are functional.
So to debug this, I inspect the devtools and I see the following errors in the console :
Uncaught Error: NETWORK_ERR: XMLHttpRequest Exception 101 utilities.js:855
Uncaught TypeError: undefined is not a function Panel.js:314
Any idea how to fix this ?
Thanks for your help.
I've filed a bug https://bugs.webkit.org/show_bug.cgi?id=96211
Not all the required files were zipped into devtools_frontend.zip probably because we had switched to lazy loading schema. I'll try to fix it tomorrow.
The simplest way to fix that is to copy the content of WebKit/Source/WebCore/inspector/front-end from the repository into your unzipped version of devtools frontend.
You can get the current front-end from the repository with help of svn checkout https://svn.webkit.org/repository/webkit/trunk/Source/WebCore/inspector/front-end command
I experience a problem with GWT 1.6 in IE8 (I have enabled native XMLHTTP support).
The scenario i this: The first time I enter a page, it renders fine with no problems. But in subsequent requests, the page fails with a JavaScript error:
Message: Exception thrown and not caught
Line: 5067
Char: 237
Code: 0
URI: http://someurl/somehashcode.cache.html
It happens in both standard mode and compatibility mode. The strange thing is that I do not experience the error when I run the application on localhost through the ASP.NET dev server. Only when I run it from a Windows 2003 server.
Does anyone have an idea, why this happens?
I would appreciate any kind of help - thanks in advance.
/Henrik
You always use the last version of stable release of GWT. This kind of error is from GWT compiler and you must report it to GWT team. Maybe this problem fixed in the last version of GWT.
I've seen the same issue, my feeling its coming from cached files. When the response is not from cached files I didn't see an exception.
I'm doing SSL to IE8. Microsoft have a fix you could try:
Internet Explorer file downloads over SSL do not work with the cache control headers
http://support.microsoft.com/kb/323308
Internet Explorer 7 and Internet Explorer 8
To resolve this issue in Internet Explorer 7 and in Internet Explorer 8, follow these steps:
1. Start Registry Editor.
2. For a per-user setting, locate the following registry key:
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings
For a per-computer setting, locate the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings
3. On the Edit menu, click Add Value.
4. To override the directive for HTTPS connections, add the following registry value:
"BypassSSLNoCacheCheck"=Dword:00000001
To override the directive for HTTP connections, add the following registry value:
"BypassHTTPNoCacheCheck"=Dword:00000001
5. Quit Registry Editor.