simonstewart oh, configuring webpack is fun, they say
pauluchon
Hi !
simonstewart
The problem I'm wrestling with is that the atoms source is dependent on files in two different directories
With Buck, I'd just declare a `closure_library` and set up dependencies for the libraries, then output a single file using `closure_binary` which would include an optimally small subset of source files
Reading webpack docs now. Turns out that the atoms don't have a normal "entry" point.
Lina_ has quit
p0deje
you need exports, right?
simonstewart
Dunno.
Depends on how we're using this
pauluchon
I'm facing issues with latest selenium server and IEdriver in hub mode. I'm getting Element not found each time I try to find an element by id. I've seen that behavior has changed in IEdriver changelog, but I've just updated from 3.5.1 to 3.6..
s-v-romankov-sl has quit
simonstewart
In the ideal world, folks would just "import" the module that they needed from the atoms, and we'd compile the individual components that way
kpschmidt has quit
But we appear to be starting from an already compiled snapshot of an old IDE build
So I have no idea what we're trying to actually do here
Right now, we blindly copy all source files over to the web extension. That feels incorrect
tomer-sl has quit
@tomer feel free to join this conversation :)
p0deje
I'm not good at those things
but I guess we either need to pull in atoms code via git submodule + exports + webpack
simonstewart
p0deje: we're using "peru" to manage that bit of the process
Guys what do you prefer for Selenium? Python or Java?
simonstewart
Me? Java, natch
But I'm biased
m-sl
Hmmm i prefer python
barancev|2
InternetExplorerOptions.requireWindowFocus() vs e.g. FirefoxOptions.setAcceptInsecureCerts(boolean) -- what style should we prefer for boolean options?
simonstewart
m-sl: ij
ok
kpschmidt joined the channel
Damn off-by-one errors
Java Bean style suggests "get/set", with the common addition of "has" for boolean values
For a builder, I'm less inclined to go with that
I think I prefer being able to explicitly set the value to `true` or `false`
But we could do the hybrid thing: `FirefoxOptions.acceptInsecureCerts(boolean)`
The options tend to be write-only
so every method is implicitly a "setter"
barancev|2
I just want to make all options style uniform
simonstewart
Yeah
I hear you
hybrid style, I think
Your thoughts?
kpschmidt has quit
NOTICE: SeleniumHQ/selenium#2839 (master - 6c1390b : RustyNail): The build is still failing.
@p0deje @simonstewart I guess my reasoning is that I don’t want to break the extension
As long as we can replace small parts of it without breaking we’re moving forward
no?
pauluchon has quit
pauluchon joined the channel
pauluchon
Is there any known problem with latest selenium hub with latest IEDriver ? Running without hub, everything is fine, running in hub unable to get any element (I've tried by id and by class). Here is a simple test case in PHP, but it's simple enough to convert it in any language. I'm facing this issue with IE11, Selenium server 3.6, IE Driver 3.6
And here is the error message : InvalidArgumentException: Element not found.
barancev|2
simonstewart: also I'm going to deprecate and delete methods like SafariOptions.getUseCleanSession(), all the getters
m-sl has quit
pauluchon
And of course, same code is ok with chrome and my Internet option are the same for all mode
Kabone joined the channel
Kabone
Anyone Around? Quick question about - driver.findElement(By.xpath(
WhereIsMySpoon
Kabone: :ask
selbot2
If you have a question, please just ask it. Don't look for topic experts. Don't ask to ask. Don't PM. Don't ask if people are awake, or in the mood to help. Just ask the question straight out, and stick around. We'll get to it eventually :)
Kabone
Alright
WhereIsMySpoon
pauluchon: 1) you’re sure the id is ‘loginFrm_username’? not the name or some other attr? 2) is it maybe a timing issue?
Kabone
So basicly - I am trying to use - driver.findElement(By.xpath("//*[@id='i...; to type in an email address on a page. The element is <input id="inputEmailHandle" name="inputEmailHandle" value="" required="" type="text">
pauluchon
WhereIsMySpoon: 1) Yes sure, 2) I've tried with a basic sleep and no change
WhereIsMySpoon
Kabone: looks good so far
whats teh issue
pauluchon: oh, its IE issue only?
Kabone
When it tries it causes an eception
WhereIsMySpoon
i missed that
Kabone
This is on firefox
WhereIsMySpoon
Kabone: can you :gist the exception?
selbot2
Please paste >3 lines of code or text to https://gist.github.com and share the resulting URL
Kabone
Exception in thread "main" java.lang.NullPointerException at com.package.Main.main(Main.java:251)
WhereIsMySpoon
also can you :clarify and maybe post your whole test code in a :gist
selbot2
Please paste >3 lines of code or text to https://gist.github.com and share the resulting URL
Please clarify: Are you using WebDriver, RC or IDE? What version of Selenium? What programming language? What browser and browser version? What operating system?
Kabone
sure one sec
pauluchon
WhereIsMySpoon: Yes IE only..
WhereIsMySpoon
ignore the first question :) i know you’re using webdriver
pauluchon: I would submit it as a bug then if it looks like an IE only issue, and if you can attach the driver logs