EarlGrey icon indicating copy to clipboard operation
EarlGrey copied to clipboard

Update framework version with new features

Open AndrewRage opened this issue 5 years ago • 3 comments

Please update the binary framework to support new features. I would like to use testing with WKWebView, but the current version 1.15.0 framework doesn't support it. If I set the newest commit in Podfile pod 'EarlGrey', :git => 'https://github.com/google/EarlGrey.git', :commit => '25fc49c5e57b' I have "[!] Unable to read the license file EarlGrey/LICENSE for the spec EarlGrey (1.15.0)" warning on pod install and "No such module 'EarlGrey'" error on project build. Pods folder has EarlGrey folder with two LICENSE and README.md files. EarlGrey.framework is missing. I'm using Cocoapods 1.5.3, Xcode 10.1, Ruby 2.4.0.

AndrewRage avatar Mar 04 '19 10:03 AndrewRage

Please take a look at EarlGrey 2.0. EarlGrey 1.0 is Unit Test based and doesn't allow interactions with out of process elements like WKWebViews. You can find it at https://github.com/google/EarlGrey/tree/earlgrey2.

tirodkar avatar Mar 04 '19 10:03 tirodkar

Please take a look at EarlGrey 2.0. EarlGrey 1.0 is Unit Test based and doesn't allow interactions with out of process elements like WKWebViews. You can find it at https://github.com/google/EarlGrey/tree/earlgrey2.

But javaScriptExecution for WKWebViews is added in this commit https://github.com/google/EarlGrey/commit/b1ab378a7ab342f95cb28fe1a391a68ce6e9834b

AndrewRage avatar Mar 04 '19 11:03 AndrewRage

I am actually using EarlGrey2 and having trouble do javaScriptExecution for WKWebViews. The error message does not help much. Only says internal error occurs. And I have verified manually that javascript can be executed on the WKWebView element I selected.

vvohto avatar Aug 23 '19 23:08 vvohto