#selenium

/

      • Vasu
        When i am running Chrome as service through Selenium webdriver the maximum resolution i can see is 1040,784. How can we increese the resolution. I tried below solutions but they didn't work. driver.manage().window().setSize(new Dimension(1920, 1080)); driver.manage().window().maximize();
      • kpschmidt joined the channel
      • kpschmidt has quit
      • ardesco-sl has quit
      • mach6
        log
      • lucast
      • mach6
        :note simonstewart I'll try to find you in the morning and if I miss you again, I'll drop you an email.
      • selbot2
        ok!
      • mach6 has quit
      • errant_rider has quit
      • GodFather has quit
      • GodFather joined the channel
      • kpschmidt joined the channel
      • smccarthy joined the channel
      • kpschmidt has quit
      • energizer joined the channel
      • kpschmidt joined the channel
      • kpschmidt has quit
      • smccarthy joined the channel
      • p0deje joined the channel
      • kpschmidt joined the channel
      • luke995-sl joined the channel
      • kpschmidt has quit
      • smccarthy joined the channel
      • GodFather has quit
      • alavarre has quit
      • kggr joined the channel
      • kpschmidt joined the channel
      • kpschmidt has quit
      • luke995-sl has quit
      • smccarthy joined the channel
      • kpschmidt joined the channel
      • kpschmidt has quit
      • ozcanesen joined the channel
      • p0deje has quit
      • Vasu has quit
      • smccarthy joined the channel
      • kpschmidt joined the channel
      • kpschmidt has quit
      • p0deje joined the channel
      • ozcanesen has quit
      • kggr has quit
      • spathare joined the channel
      • santi-sl joined the channel
      • barancev has quit
      • barancev joined the channel
      • alok_ joined the channel
      • alok_
        Hi
      • I am getting javascript error with IE11
      • i am using iedriver 3.6
      • windows 8.1
      • jdk 8u151
      • kpschmidt joined the channel
      • it throws exception at the below code
      • ((JavascriptExecutor)driver).executeScript("var tab = document.getElementsByTagName(\"table\")[0];var ele = tab.getElementsByTagName(\"div\");for(var i = 0; i < ele.length; i++){if(\"File\" == ele[i].textContent.trim()){ele[i].click();break;}}");
      • any clue why its failing
      • it was passing with iedriver 3.3
      • any help on this is appreciated
      • kpschmidt has quit
      • alok_ has quit
      • alok_ joined the channel
      • I tried running the below javascript code with iedriver 3.6 on windows 8.1 64 bit, JDK 8u151 64 bit: ((JavascriptExecutor)driver).executeScript("var tab = document.getElementsByTagName(\"table\")[0];var ele = tab.getElementsByTagName(\"div\");for(var i = 0; i < ele.length; i++){if(\"File\" == ele[i].textContent.trim()){ele[i].click();break;}}");
      • It throws the following error: 2017-11-02 04:39:04 ERROR [main] (WebUtils.java:1122) - Exception occured while Navigation to Menu: File ==> New ==> Cabinet !! 2017-11-02 04:39:04 ERROR [main] (WebUtils.java:1122) - Exception occured while Navigation to Menu: File ==> New ==> Cabinet !! org.openqa.selenium.JavascriptException: JavaScript error Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T16:15:40.131Z' Syste
      • 2017-11-02 04:39:04 ERROR [main] (WebUtils.java:1122) - Exception occured while Navigation to Menu: File ==> New ==> Cabinet !! 2017-11-02 04:39:04 ERROR [main] (WebUtils.java:1122) - Exception occured while Navigation to Menu: File ==> New ==> Cabinet !! org.openqa.selenium.JavascriptException: JavaScript error
      • Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T16:15:40.131Z' System info: host: 'VM-001', ip: '10.194.38.187', os.name: 'Windows 8.1', os.arch: 'amd64', os.version: '6.3', java.version: '1.8.0_151' Driver info: org.openqa.selenium.ie.InternetExplorerDriver
      • Capabilities [{acceptInsecureCerts=false, browserVersion=11, se:ieOptions={nativeEvents=true, browserAttachTimeout=0, ie.ensureCleanSession=false, elementScrollBehavior=0, enablePersistentHover=true, ie.browserCommandLineSwitches=, ie.forceCreateProcessApi=false, requireWindowFocus=false, initialBrowserUrl=http://localhost:28093/, ignoreZoomSetting=false, ie.fileUploadDialogTimeout=3000, ignoreProtectedModeSettings=true}, browserName=
      • at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      • Selenium-Github
        [13selenium] 15dfabulich pushed 1 new commit to 06master: 02https://git.io/vFs0h
      • 13selenium/06master 145278a0a 15Dan Fabulich: Fixed typos and grammar errors....
      • alok_
        at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:185) at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:120) at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
      • balaji joined the channel
      • santi-sl has quit
      • kpschmidt joined the channel
      • kggr joined the channel
      • balaji has quit
      • kpschmidt has quit
      • mfsi_ankitm joined the channel
      • neoncontrails joined the channel
      • alok_ has quit
      • pmoney joined the channel
      • pmoney has quit
      • kriskropd joined the channel
      • NOTICE: SeleniumHQ/selenium#2974 (master - 5278a0a : Dan Fabulich): The build was broken.
      • NOTICE: Change view : https://github.com/SeleniumHQ/selenium/compare/c6da91f6dd6a...5278a0ab6543
      • NOTICE: Build details : https://travis-ci.org/SeleniumHQ/selenium/builds/296104080
      • smccarthy joined the channel
      • KaL joined the channel
      • Guest31 joined the channel
      • Guest31 has quit
      • neoncontrails joined the channel
      • Guest31 joined the channel
      • alok_ joined the channel
      • ajit_ joined the channel
      • chrisw joined the channel
      • akhil joined the channel
      • akhil
        please tell me how to do load testing in selenium IDE
      • Lina_ joined the channel
      • smccarthy-sl joined the channel
      • smccarthy-sl
        You don't
      • zavelevsky-sl joined the channel
      • zavelevsky-sl
        :ide
      • selbot2
        The original Selenium IDE is no longer being maintained, and as of Firefox 55, will no longer work at all. Fortunately, IDE2 is under active development and is available to try out. Check it out, and please file issues: https://github.com/seleniumhq/selenium-ide. For a more detailed explanation regarding the original Selenium IDE: https://seleniumhq.wordpress.com/2017/08/09/fir...
      • zavelevsky-sl
        we’re getting there
      • barancev
        zavelevsky-sl: hope you're not going to add the "load test this site!" button to the new IDE :)
      • zavelevsky-sl
        :)
      • UI written from scratch using React and MobX
      • Much easier to use than before, although similar in structure
      • Guest31 has quit
      • (so that everyone will be happy and comfortable)
      • Contributors are VERY welcomed
      • barancev
        new UI looks pretty. eagerly waiting for other features... you know -- save to a file that can be run from console and export to a programming language ;)
      • zavelevsky-sl
        Code is covered by unit-tests
      • The work is focused now on providing the capabilities of the original IDE - then moving on to new stuff
      • chele joined the channel
      • akhil has quit
      • czart joined the channel
      • mtodor joined the channel
      • Guest31 joined the channel
      • Guest31 has quit
      • bpascal joined the channel
      • Guest31 joined the channel
      • ollehar joined the channel
      • MrBusiness joined the channel
      • Guest31 has quit
      • Guest31 joined the channel
      • bwb joined the channel
      • Guest31 has quit
      • bwb
        Hi, I'm trying to run the selenium-html-runner-3.6.0.jar, but it doesn't do stuff (except opening a firefox-esr window), my last message is 'Marionette INFO Listening on port 2828'..
      • smccarthy-sl has quit
      • ShekharReddy joined the channel
      • whimboo
        bwb: hm, which platform are you on?
      • bwb
        whimboo: debian 9
      • Guest31 joined the channel
      • Guest31 has quit
      • whimboo
        bwb: can you run it with trace level logs?
      • zavelevsky-sl has quit
      • balaji joined the channel
      • bwb
        whimboo: thanks .. here is probably what is going wrong, I don't actually know how I can give arguments to the geckodriver (I thought the html runner is starting that)
      • whimboo
        sorry, but I don't know that tool
      • bwb
        whimboo: thanks for the hint though .. probably should enable more debug info :)
      • whimboo
        as it looks like it only runs tests as created via the Selenium DIE?
      • in that case your test must have some capabilities specified somewhere
      • balaji has quit
      • MrBusiness
        Just making sure I'm in the right place, this is the web browser automation library's chat, yes?
      • Hounddog joined the channel
      • barancev
        bwb: geckodriver can't drive ESR version
      • rnemeth1980-sl joined the channel
      • whimboo
        barancev: it can, but only with an old version of geckodriver like 0.16
      • barancev
        true