Giter Club home page Giter Club logo

demo-java's People

Contributors

aldi-poc avatar c3ccl3ston avatar codacy-badger avatar coleve27 avatar colinsauce avatar dependabot[bot] avatar diemol avatar dpgraham avatar dylanlacey avatar eyaly avatar gil-sauce avatar halkeye avatar joshmgrant avatar kevinmarkvi avatar llaskin avatar mehmetg avatar mehmetg-sauce avatar mmerrell-sauce avatar nadvolod avatar ndmanvar avatar neilgoldman avatar redmed86 avatar tacktician avatar titusfortner avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

demo-java's Issues

Simplify the biometric auth examples

The biometric auth examples are really complicated and there is a lot going on. I actually don't understand what's happening. Is it possible to simplify the examples and update the README for those examples?
You can show how to run with TestNg or Maven

Screener API Key requirement in README

We should not require the user the enter a SCREENER_API_KEY to setup the demo repo. This is in the README.

$ export SAUCE_USERNAME="your username"
$ export SAUCE_ACCESS_KEY="your accessKey"
$ export SCREENER_API_KEY="your screener key"

Fix the selenium-examples-cucumber module

I moved code related to Cucumber into this selenium-examples-cucumber module but not sure if it works. We need to:

  • Make it work
  • Document the example
  • Update the READMEs

Add Cross-Platform OS Support in CI

After some inspection, it appears that the GitHub Actions pipelines only run against ubuntu-latest. While this is necessary it it not sufficient as some users also use Windows and Mac platforms for these code examples.

This guide show the other platforms offered by GitHub Actions and it would be helpful to have runs against Windows and Mac environments.

Biometric authentication using Java

Hi team , could you please guide me on implementing biometric authentication using Java code.l, I went through your repo but found the code in java script , could you please help me using Java

Put all of the examples in a /example directory as a parent level

  • Have only one examples module where all of the examples live, irrespective of the testing library
  • Have only special examples when it's testing library specific (parallel testing, data-driven testing...)
  • The examples can be a mix of Junit/TestNg to make use of all the examples that already exist

Describe the best practices impact

Why did we choose to do the testing strategy for the best-practice and what benefits comes from each strategy.
What does each coverage gap cover?
What are the benefits / what are the disadvantages?
See this as an example https://github.com/saucelabs-training/demo-csharp/tree/main/DotnetCore/Sauce.Demo/Core.BestPractices.Web and put into https://github.com/saucelabs-training/demo-java/tree/main/best-practice
Also add a requirement for this to the CONTRIBUTING.MD

Update to Selenium 4.3.0

Right now the bindings does not work with selenium 4.3.0

With this bindings: com.saucelabs:saucebindings-junit5:1.0.0

I get an error:
`java.lang.ClassCastException: class com.saucelabs.saucebindings.Browser cannot be cast to class java.lang.String (com.saucelabs.saucebindings.Browser is in unnamed module of loader 'app'; java.lang.String is in module java.base of loader 'bootstrap')

at org.openqa.selenium.remote.session.ChromeFilter.apply(ChromeFilter.java:31)
at org.openqa.selenium.remote.CapabilitiesUtils.lambda$makeW3CSafe$0(CapabilitiesUtils.java:90)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
at org.openqa.selenium.remote.CapabilitiesUtils.makeW3CSafe(CapabilitiesUtils.java:100)
at org.openqa.selenium.remote.CapabilitiesUtils.makeW3CSafe(CapabilitiesUtils.java:72)
at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:271)
at java.base/java.util.Collections$2.tryAdvance(Collections.java:4747)
at java.base/java.util.Collections$2.forEachRemaining(Collections.java:4755)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
at org.openqa.selenium.remote.DriverCommand.NEW_SESSION(DriverCommand.java:194)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:264)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:179)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:161)
at com.saucelabs.saucebindings.SauceSession.createRemoteWebDriver(SauceSession.java:59)
at com.saucelabs.saucebindings.SauceSession.start(SauceSession.java:42)
at com.saucelabs.saucebindings.junit5.SauceBaseTest.setUp(SauceBaseTest.java:44)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:725)
at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149)
at org.junit.jupiter.engine.extension.TimeoutExtension.interceptLifecycleMethod(TimeoutExtension.java:126)
at org.junit.jupiter.engine.extension.TimeoutExtension.interceptBeforeEachMethod(TimeoutExtension.java:76)
at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115)
at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104)
at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98)
at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeMethodInExtensionContext(ClassBasedTestDescriptor.java:506)
)`

It looks like the versions are incompatible.

If you need more informations please let me know.

Figure out what to do with w3c examples

We have a folder called w3c-examples and I'm not 100% sure what to do with it. I see that there are Junit 5 examples and TestNg examples. I think it will be a matter of moving those examples into the right place. Maybe that's selenium-examples? It's possible that we already have similar examples and w3c-examples just needs to be deleted...

Create a best-practice-mobile module

We currently have a best-practice folder but that really only works for web
A framework for mobile native apps would be separate and needs either a new module or a new package inside of best-practice

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.