Is just nor working, it Works if I run the proyect as JavaScript but not if a run it on Dartium, I removed all the extensions from Chrome, I reinstalled Dart and I still have the same problem.
Edit: I get this exception in the editor:
ReferenceError: fill most visited is not defined [id=1]
Dart Editor version 1.8.5.release (STABLE)
Dart SDK version 1.8.5
Window 8.1 64
What can I do?
OK I fixed the problem deleting the folder AppData\Local\Google\Chrome, now is working, thanks.
Related
Since I updated Chrome, my tests don't work anymore.
I get this error:
Selenium::WebDriver::Error::SessionNotCreatedError: session not created: This version of ChromeDriver only supports Chrome version 76
So I replaced
# Currently I have Chrome 78 installed
Webdrivers::Chromedriver.required_version = Webdrivers::Chromedriver.current_version.to_s
by
Webdrivers::Chromedriver.required_version = '76.0.3809.68'
But I got the exactly same error.
I also tried with the 76.0.3869.25.
As you can see here: https://github.com/titusfortner/webdrivers/blob/master/lib/webdrivers/chromedriver.rb#L76
The required version exists.
My tests are working on Travis. Any idea?
I got this problem today, and was able to fix it....
System: Windows10 Enterprise Desktop, Visual Studio Pro 2017
Used the VS Nuget UI to update the Selenium.WebDriver.Chrome package
Normally, this works, but I continued to get the same error as above
To fix:
- I went to where my Chromedriver.exe file was located and removed it.
- Then I re-built my application that uses Selenium
- My VS app then loaded a new Chromedriver.exe
3. Re-ran my Selenium test: Problem solved.
dI am trying to get back into Dart programming after a year of break. When I last used Dart I use the DartEditor, which has since been deprecated. Now, I am trying to use WebStorm, and Dartium to run the standard dart project templates.
When I build the Uber Simple Web Application, I can get Webstorm to start the Dartium browser and display the page, but I cannot get it to stop at a breakpoint. When I build the Polymer Web Application, WebStorm starts the Dartium browser, but never displays the page - the request is made but nothing happens!
I can open the projects with a standard browser without an issue.
I have installed the JetBrains IDE Support plugin.
Dartium version: 45.0.2454.104
Webstorm version: 2016.1.1 bld 145.597
Dart version: 1.16.0
There is currently an issue in WebStorm that breaks showing applications in Dartium related to caching. The pub serve window in WebStorm should show on which port your application is served. if you open the URL in Dartium using this port
http://localhost:thePort/index.html
then it should work.
An update containing a fix for this issue was announced for this week.
WebStorm 2016.1.2 and IntelliJ IDEA 2016.1.2 official releases are published now, all known problems regarding SDK 1.16 are fixed there.
I've been trying Dart x64 for a month (under Windows 8).
Unfortunately, I've removed the "\Users\$user\AppData\Roaming\Pub\" folder. After that any Dart/Polymer project (including shipped samples like sunflower) stops showing anything in a browser without any error or exception.
I deleted the \dart folder, and some other dart folders that I'd found (\Users\$user\Application Data\Pub\, \Users\$user\.dartium\, \Users\$user\DartEditor\).
Then I'd reinstalled the Dart x64 (unpack zip-file), but problem still remains.
Then I'd removed Dart x64 and installed Dart ia32. In this case projects build with errors (can't find files from standard package), but work well in the Dartium browser.
I'd like to completely remove Dart and reinstall the new one. Can anyone help me start from scratch with Dart?
UPDATE:
I've deleted following Dart artifacts:
C:\Users\$user\dart\
C:\Users\$user\DartEditor\
"C:\Users\$user\Application Data.stagehand"
"C:\Users\$user\Application Data\Pub\"
C:\Users\$user.dartium\
C:\Users\$user\AppData\Local.dartServer\
But got the problem, described in the How to make Dart Editor find referenced packages thread.
So question still actual.
My previously executing application now fails to run with the following stacktrace
Exception: Unsupported operation: Couldn't find 'document._registerDartTypeUpgrader'. Please make sure that 'packages/web_components/interop_support.html' is loaded and available before calling this function. (package:web_components/interop.dart:24)
What exactly does this means.
I have the same problem but only on my Windows machine. On my MacBook it works OK with the exact same code.
UPDATE:
I've compared my Windows machine with the MacBook regarding versions. They both have:
DartSDK 1.7.2_r41096
Chromium 37.0.2062.120 (292122)
The packges folder symlinks point to the exact same version folder for every package
Still no idea what the difference is.
UPDATE:
Got it working after changing version to "any" for some packages and doing a "pub upgrade". I checked in the pubspec.lock which packages were upgraded. If you depend on any of these it might help if you upgrade them:
args
barback
code_transformers
collection
core_elements intl
paper_elements
smoke source_maps
stack_trace
string_scanner
In particular I suspect the old version of core_elements and paper_elements to have caused the problem but I have not reproduced it.
I had some trouble to display my project in FF cause of shadow_dom. I read that the shadow_dom package is deprecated so I followed the steps in http://pub.dartlang.org/packages/web_components and added web_components to my project.
Now I can build and run my project in FF. However when I include packages/web_components/platform.js and run my project in dartium it displays without css whereever I use shadow_dom. I also get the following error :
ShadowDOMPolyfill polyfill was loaded in Dartium. This will not work.
This indicates that Dartium's Chrome version is not compatible with
this version of web_components.
How to solve this ?