Coder Social home page Coder Social logo

debuggable-selenide's Introduction

Hi there ๐Ÿ‘‹, I take care of the complex things so you don't need to.

Welcome to my GitHub profile, which is the home for my open source projects. I enjoy working on highly concurrent and non-blocking code.

I am:

  • ๐Ÿ‡ฉ๐Ÿ‡ช Based in Germany with my ๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘ฆ Family
  • ๐Ÿ‘” Work on Spring Data, R2DBC, Lettuce, and other projects
  • ๐Ÿค“ Enjoy building libraries that make your daily work fun
  • ๐ŸŽต Electronic Music Artist
  • ๐Ÿ”Š Speaker
  • ๐Ÿ˜ป Having a Cat

debuggable-selenide's People

Contributors

mp911de avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

cpomp

debuggable-selenide's Issues

Not able to run on debug mode

This looks very interesting, sadly I wasn't able to run the project in debug mode
I imported the project and followed the instructions "start the class biz.paluch.testing.acceptance.StandaloneLauncher as JUnit test"

That produced the following exception

Scenario:
Given I'm on http://www.paluch.biz
When I click Blog
Then the URL ends with /blog.html
Given I'm on http://www.paluch.biz/blog.html

this one will fail since there are no 99 entries

When I click entry no 99 (FAILED)
(java.awt.IllegalComponentStateException: contentPane cannot be set to null.)

java.awt.IllegalComponentStateException: contentPane cannot be set to null.
at javax.swing.JRootPane.setContentPane(JRootPane.java:621)
at javax.swing.JDialog.setContentPane(JDialog.java:1046)
at biz.paluch.testing.acceptance.debug.StoryExceptionDialog.initialize(StoryExceptionDialog.java:67)
at biz.paluch.testing.acceptance.debug.StoryExceptionDialog.open(StoryExceptionDialog.java:204)
at biz.paluch.testing.acceptance.debug.DebugInvoationInterceptor.invoke(DebugInvoationInterceptor.java:47)
(reflection-invoke)
at org.jbehave.core.steps.StepCreator$ParametrisedStep.perform(StepCreator.java:598)
at org.jbehave.core.embedder.PerformableTree$FineSoFar.run(PerformableTree.java:315)

...

I then tried to initialize all the swing components in the StoryExceptionDialog() ctor
This got me further but I then again get stuck @
.StoryExceptionDialog.open(StoryExceptionDialog.java:216)
dialog.setVisible(true);

This bring is an empty dialog. I guess the gridlayout w all the components should have been picked up from StoryExceptionDialog.form. However, it doesn't seem to be doing so

I see that namespace for that xml is from "intellij". Is this an intellij only feature? What I'm I doing wrong?

I appreciate your help in advance

Selenide interactive methods aren't working

I get the following exception when trying to use a Selenide funciton
$("article")
Exception: javax.script.ScriptException: TypeError: com.codeborne.selenide.Selenide@f74e714 has no such function "$" in at line number 1
Caused by: :1 TypeError: com.codeborne.selenide.Selenide@f74e714 has no such function "$"
at jdk.nashorn.internal.runtime.ECMAErrors.error(ECMAErrors.java:56)
at jdk.nashorn.internal.runtime.ECMAErrors.typeError(ECMAErrors.java:212)
at jdk.nashorn.internal.runtime.ECMAErrors.typeError(ECMAErrors.java:184)
at jdk.nashorn.internal.runtime.ECMAErrors.typeError(ECMAErrors.java:171)
at jdk.nashorn.internal.runtime.linker.NashornBottomLinker.linkBean(NashornBottomLinker.java:118)
at jdk.nashorn.internal.runtime.linker.NashornBottomLinker.getGuardedInvocation(NashornBottomLinker.java:73)
at jdk.internal.dynalink.support.CompositeGuardingDynamicLinker.getGuardedInvocation(CompositeGuardingDynamicLinker.java:124)
at jdk.internal.dynalink.support.LinkerServicesImpl.getGuardedInvocation(LinkerServicesImpl.java:144)
at jdk.internal.dynalink.DynamicLinker.relink(DynamicLinker.java:232)
at jdk.nashorn.internal.scripts.Script$^eval_.$(:1)
at jdk.nashorn.internal.scripts.Script$^eval_.runScript(:1)
at jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:498)
at jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:206)
at jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:378)
at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:546)
at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:528)
at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:524)
at jdk.nashorn.api.scripting.NashornScriptEngine.eval(NashornScriptEngine.java:194)
at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:264)
at biz.paluch.testing.acceptance.debug.StoryExceptionDialog.onEvaluate(StoryExceptionDialog.java:200)
at biz.paluch.testing.acceptance.debug.StoryExceptionDialog.access$200(StoryExceptionDialog.java:31)
at biz.paluch.testing.acceptance.debug.StoryExceptionDialog$4.actionPerformed(StoryExceptionDialog.java:99)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2346)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.Component.processMouseEvent(Component.java:6527)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
at java.awt.Component.processEvent(Component.java:6292)
at java.awt.Container.processEvent(Container.java:2234)
at java.awt.Component.dispatchEventImpl(Component.java:4883)
at java.awt.Container.dispatchEventImpl(Container.java:2292)
at java.awt.Component.dispatchEvent(Component.java:4705)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4898)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4533)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4462)
at java.awt.Container.dispatchEventImpl(Container.java:2278)
at java.awt.Window.dispatchEventImpl(Window.java:2739)
at java.awt.Component.dispatchEvent(Component.java:4705)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:746)
at java.awt.EventQueue.access$400(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:697)
at java.awt.EventQueue$3.run(EventQueue.java:691)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:719)
at java.awt.EventQueue$4.run(EventQueue.java:717)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:716)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:744)
at java.awt.EventQueue.access$400(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:697)
at java.awt.EventQueue$3.run(EventQueue.java:691)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:714)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

The WebDriver functions work great!
For debugging I tried to add another WebDriver and another Selenide method. I got the same result, the WebDriver method works and the Selenide gives the same type of exception.

Any idea on how to make this work?

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.