Hello,
i'm having the same issue with the line "| do | windowMaximize | on | | "
This is what i discovered:
When using "| do | windowMaximize | on | |" in fitnesse the line colors green, thus xebium recognizes this method.
--> (see FastWebDriverCommandProcessor.java)
Normaly xebium has to translate this to driver.manage().window().maximize(); because i tried that myself in eclipse JUNIT tests and that works,
but running my tests in fitnesse with xebium doesn't do the job correctly.
If i was able to catch the WebDriver driver xebium is using i could create fixture to do the maximize myself, but i don't know to get the driver object that xebium created.
That is why i tried to find the source code from xebium.
The latest available dependency for xebium is
<dependency>
<groupId>com.xebia.incubator</groupId>
<artifactId>xebium</artifactId>
<version>0.12</version>
</dependency>
In that version windowMaximize is not working :-(
The idea was that i wanted to debug in fitnesse why xebium is not maximizing the window. (with ?test&remote_debug=true - see fitnesse docu)
The strange this is that by using the compiled class files from 0.13-SNAPSHOT, there the windowMaximize is working correctly.
To make it work i had to import the downloaded Xebium-master.zip (
https://github.com/xebia/Xebium) in eclipse, compile it and include those class files in fitnesse
example fitnesse SuiteSetUp
*******************************
!* '''Classpath'''
!path D:\Agfa\Java_Projects\Xebium_master\Xebium-master\target\classes <---------------
!pomFile pom.xml@runtime
*******************************
Then fitnesse is first picking the target\classes folder, becore taking the downloaded Xebium maven dependency 0.12 from the pom.xml
Even though the maximize is working with 0.13.SNAPSHOT, i cannot use this, because this causes regression on my some of my tests
example |ensure |do| typeAndWait| on| id=dsfue4h9eu190297dpe3mzob | with| password| is causing the input field to be filled, but the value also disappears
I can fix it by doing the type or typeAndWait twice in my fitnesse test, but this is regression in the snapshot and i want to wait until xebium fixes that issue
If someone found another solution for this issue, please let me know.
What i will be trying is to download the 0.12 source code from xebium and add the windowMaximize fix from 0.13.snapshot myself to 0.12
Appreciate any help on this topic if someone would have found a solution for this problem.
Best Regards,
Jan Duyck