Giter VIP home page Giter VIP logo

elementor's People

Contributors

andresdominguez avatar fixermark 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  avatar  avatar  avatar

Watchers

 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

elementor's Issues

Not possible to configure Chrome binary

When Chrome is not installed in the default location, chrome-webdriver needs to receive the path to chrome binary.

In my Protractor conf.js I have

  capabilities: {
    browserName: 'chrome',
    "chromeOptions": {
      binary: "Z:/Programs/GoogleChromePortable/App/Chrome-bin/chrome.exe",
      args: [],
      extensions: [],
    }
  }

For Elementor I had to cheat %USERPROFILE%\AppData\Roaming\npm\node_modules\elementor\lib\protractor.conf.js with

  capabilities: {
    browserName: 'chrome',
    chromeOptions: {
      binary: "Z:/Programs/GoogleChromePortable/App/Chrome-bin/chrome.exe",
      args: [
        $CHROME_OPTIONS
      ]
    }
  }

Is there any chance to add a new command line option to set this?
Thanks

Elementor not using protractor.config

How can I set elementor up so that it uses my project's protractor.config. Now it's not seeing the rootElement binding thus I constantly get ERROR: Error: Error while waiting for Protractor to sync with the page: "[ng:test] no injector found for element argument to getTestability\\nhttp://errors.angularjs.org/1.5.8/ng/test"' }

Lauching elementor doesn't do anything

Hi, after having installed elementor, when I launch it, nothing happens, Chrome isn't launched.
Here is what I get:

C:\Data\Workspace\Protractor_test>elementor https://angularjs.org
Creating protractor configuration file
Starting protractor
Running command: [node C:\Users\id844882\Program Files\nodejs\node_modules\elementor\node_modules\protractor\lib\cli.js --elementExplorer true --debuggerServerPort 6969 C:\Users\id8448
82\AppData\Local\Temp\protractor-conf116025-10380-1o1ixu]

Installing elementor removes the jasmine patch done by protractor (to wait for expectations on promises)

It took me a long time but I finally discovered it was elementor that was messing up my e2e tests :)

Steps to reproduce:
mkdir tempDir
cd tempDir
nano package.json

Paste into nano/pico:

{
"name": "temp",
"version": "1.0.0",
"devDependencies": {
"elementor": "",
"protractor": "
"
},
"scripts": {
"postinstall": "webdriver-manager update"
}
}

Then run:
npm install

Finally, update protractor e2e sample:
nano node_modules/protractor/example/example_spec.js

And change:
expect(greeting.getText()).toEqual('Hello Julie!');
To:
expect(greeting.getText()).toEqual('Hello NOT!!!! Julie!');

Run:
./node_modules/protractor/bin/protractor node_modules/protractor/example/conf.js

And see the test pass (and they should fail), because jasmine is not waiting for the async test to be done.

To see it's elementor's fault, remove elementor from package.json and do the above steps, and see the tests fail (as expected :))

Can't get Dev Tools extension to work

First off, amazing tool. This is a godsend for trying to write E2E tests.

I tried following the instructions about Duplicating the tab, but whatever I do, the "Protractor" tab is always either blank, or says "No Properties"

Starting protractor fails silently

Running on Windows 8.1
Protractor 2.1.0
Elementor 1.0.10

I initialize elementor, then nothing happens.

$ elementor https://angularjs.org
Creating protractor configuration file
Starting protractor
Running command: [node c:\Users\Ken Howard\AppData\Roaming\npm\node_modules\elementor\node_modules\protractor-elementor\lib\cli.js --elementExplorer true --debuggerServerPort 6969 C:\Users\KENHOW~1\AppData\Local\Temp\protractor-conf115516-8860-1r47b0b]

I have inspected the Temp directory but the configuration file doesn't exist.

Protractor panel never shows suggested locators

I'm using Chrome 42.0.2311.90 (64-bit), node v0.12.2, and elementor 1.0.7.

After running elementor localhost and duplicating the tab, dev tools in tab 1 automatically closes when I select an element with the Protractor pane open in dev tools. The dev tools in tab 2 doesn't close however no suggestions are sent and there's nothing in the console log. It seems like this feature is broken?

Result is unkown character

With certain selectors the resulting number of "... .count()" is just a box which is usually showing an unkown character. Screenshot is attached.

Would be nice to at least tell me how I should interpret the result. Because I am having issues selecting a certain element.

Thanks!
Josh
elementor

elementor - closing dev tools

Hi,

I have set up with the new version for a nonAngular application, but when i select an element it closes the dev tools and outputs the results in the console. I am guessing there is some sort of error there or is this supposed to happen?

Feature Request: Choose image size, not just dimensions.

Allow for image size to be selected, maybe even default it to "large" instead of "full".

When you use other page builders such as Divi, they don't have this, and clients are constantly inserting photos that are much too large.

Elementor not displaying any locators on non Angular app

Hello Andres

I've tried your, very nice, tool on a non angular app. I followed the instructions you posted on youtube but it keeps saying: log: "Cannot find suggestions".
I am trying it on a HTML element which has an id. But to be honest I tried on any type of element.
The interesting thing is that, when going back on the first tab, placing commands in the popup does what it's supposed to do.

I am using:
protractor version: 2.1.0
elementor version: 1.0.10

As for logs, I must admit I don't know where to find them. So I will post you what I get in the terminal. For both elementor and selenium.

elementor

./node_modules/elementor/bin/elementor.js http://localhost/ten --nonAngular
Creating protractor configuration file
Starting protractor
Running command: [node /Applications/XAMPP/xamppfiles/htdocs/ten/node_modules/elementor/node_modules/protractor-elementor/lib/cli.js --elementExplorer true --debuggerServerPort 6969 /var/folders/t0/2jv1_2qd50d082bsf3qb74b00000gn/T/protractor-conf115429-10979-2se8qn]
Using the selenium server at http://localhost:4444/wd/hub
Starting WebDriver debugger in a child process. Pause is still beta, please report issues at github.com/angular/protractor

Type to see a list of locator strategies.
Use the list helper function to find elements by strategy:
e.g., list(by.binding('')) gets all bindings.
Server listening on 127.0.0.1:6969
Done starting protractor
Starting elementor
Elementor is listening on http://localhost:13000
Running elementor in non-angular mode.
Getting page at: http://localhost/ten
Connected. Sending command: browser.ignoreSynchronization = true;browser.get('http://localhost/ten');
Elementor is ready!

selenium

./node_modules/protractor/bin/webdriver-manager start
seleniumProcess.pid: 10976
00:02:58.903 INFO - Launching a standalone server
Setting system property webdriver.chrome.driver to /Applications/XAMPP/xamppfiles/htdocs/ten/node_modules/protractor/selenium/chromedriver
00:02:58.953 INFO - Java: Oracle Corporation 25.31-b07
00:02:58.953 INFO - OS: Mac OS X 10.10.3 x86_64
00:02:58.963 INFO - v2.45.0, with Core v2.45.0. Built from revision 5017cb8
00:02:59.075 INFO - Default driver org.openqa.selenium.ie.InternetExplorerDriver registration is skipped: registration capabilities Capabilities [{ensureCleanSession=true, browserName=internet explorer, version=, platform=WINDOWS}] does not match with current platform: MAC
00:02:59.129 INFO - RemoteWebDriver instances should connect to: http://127.0.0.1:4444/wd/hub
00:02:59.131 INFO - Version Jetty/5.1.x
00:02:59.134 INFO - Started HttpContext[/selenium-server,/selenium-server]
00:02:59.162 INFO - Started org.openqa.jetty.jetty.servlet.ServletHandler@7e0babb1
00:02:59.163 INFO - Started HttpContext[/wd,/wd]
00:02:59.163 INFO - Started HttpContext[/selenium-server/driver,/selenium-server/driver]
00:02:59.163 INFO - Started HttpContext[/,/]
00:02:59.168 INFO - Started SocketListener on 0.0.0.0:4444
00:02:59.169 INFO - Started org.openqa.jetty.jetty.Server@6e2c634b
00:03:04.588 INFO - Executing: [new session: Capabilities [{browserName=chrome, chromeOptions={args=[--load-extension=/Applications/XAMPP/xamppfiles/htdocs/ten/node_modules/elementor/extension]}}]])
00:03:04.609 INFO - Creating a new session for Capabilities [{browserName=chrome, chromeOptions={args=[--load-extension=/Applications/XAMPP/xamppfiles/htdocs/ten/node_modules/elementor/extension]}}]
Starting ChromeDriver 2.15.322455 (ae8db840dac8d0c453355d3d922c91adfb61df8f) on port 44343
Only local connections are allowed.
00:03:06.423 INFO - Done: [new session: Capabilities [{browserName=chrome, chromeOptions={args=[--load-extension=/Applications/XAMPP/xamppfiles/htdocs/ten/node_modules/elementor/extension]}}]]
00:03:08.933 INFO - Executing: [set script timeoutt: 11000])
00:03:08.943 INFO - Done: [set script timeoutt: 11000]
00:03:08.968 INFO - Executing: [get: http://localhost/ten])
00:03:10.155 INFO - Done: [get: http://localhost/ten]

This is basically all I can give you. It pretty much stays like this no matter what you do in the Chrome developer tools.

I hope you find the time to find a fix for this. Elementor really saves a lot of time when writing E2E tests.

All the best,
Radu

Feature Request: Allow filtering of structural markup

I realize I'm getting picky here. But it would be awesome if you could filter the markup. Be able to:

-Add/remove structural markup in sections
-Change element classes/id's/data attributes (especially in the grid).

I'm a big fan of Foundation, I know others love Bootstrap. This has been a long desired feature of mine for any page builder.

More filters throughout would be awesome.

ECONNREFUSED connect ECONNREFUSED

Fresh installed the CLI bin by sudo npm i -g elementor and tried opening a remote selenium instance by elementor <ip>:<port> and I get this error:

/usr/local/lib/node_modules/elementor/node_modules/selenium-webdriver/lib/webdriver/promise.js:1761
      throw error;
            ^
Error: ECONNREFUSED connect ECONNREFUSED
    at ClientRequest.<anonymous> (/usr/local/lib/node_modules/elementor/node_modules/selenium-webdriver/http/index.js:145:16)
    at ClientRequest.EventEmitter.emit (events.js:95:17)
    at Socket.socketErrorListener (http.js:1547:9)
    at Socket.EventEmitter.emit (events.js:95:17)
    at net.js:441:14
    at process._tickCallback (node.js:415:13)

Any idea to fix that ?

Elementor text input looks broken and can't be used

I'm having problems with the text input that can be used for sendKeys etc. It looks broken in some way and it cant be used.

My environment:
OS: macOs Sierra 10.12.4
Browser: Chrome Version 58.0.3029.81 (64-bit)
webdriver-manager 12.0.4
Version of Angular 1.5.3

This is how the text input looks:

elementor

Feature Request: Allow Show/Hide/Removal of elements in panel by post type

As an example: not every website is going to need a Google map, progress bar, image carousel, counter etc....

I'd prefer if my clients didn't see any of those options altogether.

I'd also prefer they didn't see any of the default WordPress widgets. Or at least where I have control of which ones they would see.

Chrome launches and then closes

I use the elementor command and when I do, the browser opens for a second and then closes followed by the following error in the webdriver-manager terminal.

[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0

Anyone seen this before? How do I resolve this?

Error at loading elementor

Hello I'm using elementor with an angular local project, at the moment whenever I try to obtain the Locators from the extension at the google chrome tools, I get the error message shown In the img I attached, I'm running on a fedora 21 os.
screenshot from 2015-05-12 08 45 59

throwing Unhandled error event

Creating protractor configuration file
Starting protractor
Running command: [node C:\Users\vivekb\AppData\Roaming\npm\node_modules\elementor\node_modules\protractor\built\cli.js --elementExplorer true --debuggerServerPort 6969 C:\Users\vivekb\AppData\Local\Temp\protractor-conf116522-7268-1li19mn]
[11:58:25] I/hosted - Using the selenium server at http://localhost:4444/wd/hub
[11:58:29] I/protractor -
[11:58:29] I/protractor - ------- Element Explorer -------
[11:58:29] I/protractor - Starting WebDriver debugger in a child process. Element Explorer is still beta, please report issues at github.com/angular/protractor
[11:58:29] I/protractor -
[11:58:29] I/protractor - Type <tab> to see a list of locator strategies.
[11:58:29] I/protractor - Use the `list` helper function to find elements by strategy:
[11:58:29] I/protractor -   e.g., list(by.binding('')) gets all bindings.
[11:58:29] I/protractor -
Server listening on 127.0.0.1:6969
Done starting protractor
Starting elementor
Elementor is listening on http://localhost:13000
Getting page at: https://eotar-devel.moremagic.com/ui_topup/erecharge/aui
Connected. Sending command: browser.get('https://eotar-devel.moremagic.com/ui_topup/erecharge/aui');
Elementor is ready!
events.js:141
      throw er; // Unhandled 'error' event
      ^

Error: read ECONNRESET
    at exports._errnoException (util.js:874:11)

ERROR: Cannot read property 'get' of undefined

Hi,

The tool looks awesome and works on remotely hosted websites, but I get the following error all the time when trying to run it against localhost:

ERROR: Error while waiting for Protractor to sync with the page: "Cannot read property 'get' of undefined"

What am I doing wrong?

Thanks,
David.

Not able to configure elementor

i tried using elementor and i am getting an error UnknownError: chrome not reachable.
I tried the url:elementor https://angularjs.org --chrome="--remote-debugging-port=9222 --disable-web-security".
and i also trying to test it with elementor localhost:9000 everything works fine but the chrome instance comes up shows up nothing and i get a error after some time ECONNREFUSED connect ECONNREFUSED

Elementor Not able to load the URL on chrome that is being passed.( "Finding suggestions")

screen shot 2016-03-22 at 2 11 57 am

1) webdriver-manager start 2) elementor https://angular.github.io/protractor/#/api

Google chrome opens with data:, in the URL box.( See the screen shot). Then if I try to manually enter the following url "https://angular.github.io/protractor/#/api" and then duplicate it. Still I dont get locators when I try to inspect the element.

My guess is elementor should load up the browser with the URL that I am passing. But for some reason its not doing that

Elementor version 1.1.0
Protractor version-3.2.1

webdriver error: TypeError options must be an object

Thanks for your tool, first of all. It might be very helpful.

But when I tried to reproduce your example in the video on Ubuntu 14.04, I got the error: "There was a webdriver error: TypeError options must be an object".

Output of 'webdriver-manager' on startup:
"15:38:38.649 INFO - Java: Oracle Corporation 24.72-b04
15:38:38.649 INFO - OS: Linux 3.13.0-43-generic amd64
15:38:38.668 INFO - v2.44.0, with Core v2.44.0. Built from revision 76d78cf
15:38:38.755 INFO - Default driver org.openqa.selenium.ie.InternetExplorerDriver registration is skipped: registration capabilities Capabilities [{platform=WINDOWS, ensureCleanSession=true, browserName=internet explorer, version=}] does not match with current platform: LINUX
15:38:38.789 INFO - RemoteWebDriver instances should connect to: http://127.0.0.1:4444/wd/hub
15:38:38.790 INFO - Version Jetty/5.1.x
15:38:38.791 INFO - Started HttpContext[/selenium-server/driver,/selenium-server/driver]
15:38:38.792 INFO - Started HttpContext[/selenium-server,/selenium-server]
15:38:38.792 INFO - Started HttpContext[/,/]
15:38:38.809 INFO - Started org.openqa.jetty.jetty.servlet.ServletHandler@1a18b622
15:38:38.809 INFO - Started HttpContext[/wd,/wd]
15:38:38.816 INFO - Started SocketListener on 0.0.0.0:4444
15:38:38.817 INFO - Started org.openqa.jetty.jetty.Server@357b2b99
"

After opening the Protractor API page with elementor, duplicating the tab and activation 'Protractor' as a event listener, elementor produces the following output when selecting elements:
"> Testing locators { byCss:
{ nodeName: 'div',
class: 'container protractor-container ng-scope',
'ng-view': '',
autoscroll: 'true' } }
Testing locator list [ { name: 'byCss',
locator: 'by.css('div.container.protractor-container')',
countExpression: 'element.all(by.css('div.container.protractor-container')).count()' },
{ name: 'byCss',
locator: 'by.css('.container.protractor-container')',
countExpression: 'element.all(by.css('.container.protractor-container')).count()' },
{ name: 'byCss',
locator: 'by.css('div[ng-view=""]')',
countExpression: 'element.all(by.css('div[ng-view=""]')).count()' },
{ name: 'byCss',
locator: 'by.css('div[autoscroll="true"]')',
countExpression: 'element.all(by.css('div[autoscroll="true"]')).count()' } ]
Sending locator results { 'by.css('div.container.protractor-container')': 'There was a webdriver error: TypeError options must be an object',
'by.css('.container.protractor-container')': 'There was a webdriver error: TypeError options must be an object',
'by.css('div[ng-view=""]')': 'There was a webdriver error: TypeError options must be an object',
'by.css('div[autoscroll="true"]')': 'There was a webdriver error: TypeError options must be an object' }
"

What went wrong?

Invalid selector generated

elementor generates invalid selectors. It looks like it's not escaping single quotes in objects properly.

by.css('div[a-b="{id: 'c'}"]');

Elementor icon not available in Chrome Incognito window

Elementor icon not available in Chrome Incognito window. I used below command using chrome flag:
elementor https://angularjs.org --chrome="--incognito". It loads Chrome Incognito window but it does not show Elementor. My web application runs only in Incognito and because of this problem I am unable to use Elementor. Please help.

finding suggestions always

It cant load.

i first open my tab. inspect protractor tab

then duplicate. going 2. tab. same steps. inspect protractor and click an element but it says finding suggetions.

also i go to other tab again but nothing happens.

SEO optimization

Quite a promising page builder. I however can't figure out how to do meta descriptions or any section seo stuff

Is it possible to use elementor while browser.pause()?

Hi Andres!

Thank so much for your great tool!

I was just curious if instead of running elementor on the top of its own protractor session, you can reuse existing protractor and use your plugin to send commands to it.

Image a setup

a grunt / gulp enviroment that runs e2e tests, one of the tests is failing and a page that is visible after the user log in. So at that place you put browser.pause() to debug it.

Now I would run your elementor server that would connect to the existing protractor session and by using your chrome extension (i expect it would be already running with the protractor session launch from gulp/grunt) I would be able to find missing or problematic elements.

What do you think? I guess you have almost everything ready, it is just a matter of composition.

I look forward to your reply!

Cheers,
Andrej

Using elementor with responsive design?

Hi there!
I'm testing a web app that loads different index.html depending on the resolution (it has a very diferent template when using it in mobile resolutions).

I'm having a problem using elementor using this view.

Steps

  1. I load the page and use the device toolbar to set it in responsive mode
  2. I duplicate the tab in order to use the elementor extension
  3. In this second tab, I also use the device toolbar and set the resolution in responsive mode.
  4. When I select an element to check its locator, both tabs are set again to desktop resolution, and I'm unable to get the correct selector

Does anyone else has attempted the same type of testing? Maybe I'm doing something wrong or is this something that can't be done with elementor?

Thanks in advance for any reply or suggestion!

UI: "Locators" should clear and indicate loading while waiting for new locators.

When the currently-selected element updates, elementor does some analysis to determine what locators would apply to the selected element. If I then select a different element, the locators for the previous selection are still shown with no indication that Elementor is computing a new set (they update only once the computation is completed).

I recommend clearing the old Locators list (and possibly showing a "Loading" animation to indicate the list is expected to change soon).

inspect matching element

In the chrome popup window, is there a way to select a locator you've just typed in and inspect the matching element in the dev tools element panel?

Something like:

image

problem running elementor

I am using
protractor version: 2.1.0
Elementor version: 1.0.10
Node version: 0.12.4
Environment: windows 7
reproducible: 100%

Couldn't get rid of the problem even after reinstalling protractor and updating webdriver-manager. Something that is puzzling for me it works randomly but fails most of the time.

Steps:
Followed the instruction here to install elementor and its dependencies:

$ npm install protractor -g
$ webdriver-manager update
$ webdriver-manager start

// In another terminal run elementor with an optional url:
$ elementor https://angularjs.org

Error report:
Creating protractor configuration file
Starting protractor
Running command: [node C:\Users\xxx_xxx\AppData\Roaming\npm\node_modules\element
or\node_modules\protractor-elementor\lib\cli.js --elementExplorer true --debugge
rServerPort 6969 C:\Users\xxx_xxx\AppData\Local\Temp\protractor-conf115512-2808-
clwb7l]
fs.js:77
throw err; // Forgot a callback but don't know where? Use NODE_DEBUG=fs
^
Error: EBADF, write
at Error (native)

Failed to open socket on port 5858, waiting 1000 ms before retrying

Hey,

With the new version(1.0.4) published in npm, i'm no longer able to boot up elementor. im seeing it start the webdriver, it spins up a new chrome instance, but then closes out.

Heres what im seeing in cmd(running mac osx):

Type to see a list of locator strategies.
Use the list helper function to find elements by strategy:
e.g., list(by.binding('')) gets all bindings.
Server listening on 127.0.0.1:6969
Done starting protractor
Elementor is listening on http://localhost:13000
Getting page at: http://localhost:9000
Connected. Sending command: browser.get('http://localhost:9000')
Failed to open socket on port 5858, waiting 1000 ms before retrying
Failed to open socket on port 5858, waiting 1000 ms before retrying

Elementor is unhappy with Protractor 3

The current Elementor is unhappy with the current Protractor (v3):

npm WARN unmet dependency ...../node_modules/elementor requires protractor@'^2.5.1' but will load
npm WARN unmet dependency ...../node_modules/protractor,
npm WARN unmet dependency which is version 3.0.0

I did not test whether it actually works fine (it very well may), but the message above may discourage users from trying.

Running elementor momentarily starts Chrome browser/shuts down, exceptions are thrown in webdriver server console

Hi Andres,

Thank you so much for providing us with such an awesome tool. It has made my life so much easier and faster. Please continue your great work. Really appreciate it.

Any idea on how to fix the issue below? Let me know if you need more info. Thanks.

My Configuration:
Windows 10 Bootcamp on a Macbook
Node: 4.4.7
Protractor: 4.0.3
WebDriver: 2.53.1
Elementor: 2.1.0

Chrome: 54.0.2840.71 m (64-bit)

When I run elementor: C:\git\ppm-ux>elementor http://localhost:3000
I get the following:
C:\git\ppm-ux>elementor http://localhost:3000
Creating protractor configuration file
Starting protractor
Running command: [node C:\Users\naija03.TANT-A01\AppData\Roaming\npm\node_modules\elementor\node_modules\protractor\built\cli.js --elementExplorer true --debuggerServerPort 6969 C:\Users\NAIJA0~1.TAN\AppData\Local\Temp\protractor-conf116921-6160-ky2m1b]

[10:44:24] I/hosted - Using the selenium server at http://localhost:4444/wd/hub

I get the following from the webdriver console:
C:\git\ppm-ux>webdriver-manager start
[10:47:43] I/start - java -jar C:\Users\naija03.TANT-A01\AppData\Roaming\npm\node_modules\protractor\node_modules\webdriver-manager\selenium\selenium-server-standalone-2.53.1.jar -Dwebdriver.chrome.driver=C:\Users\naija03.TANT-A01\AppData\Roaming\npm\node_modules\protractor\node_modules\webdriver-manager\selenium\chromedriver_2.22.exe -Dwebdriver.ie.driver=C:\Users\naija03.TANT-A01\AppData\Roaming\npm\node_modules\protractor\node_modules\webdriver-manager\selenium\IEDriverServer_x64_2.53.1.exe
[10:47:43] I/start - seleniumProcess.pid: 10296
10:47:43.260 INFO - Launching a standalone Selenium Server
Setting system property webdriver.chrome.driver to C:\Users\naija03.TANT-A01\AppData\Roaming\npm\node_modules\protractor\node_modules\webdriver-manager\selenium\chromedriver_2.22.exe
Setting system property webdriver.ie.driver to C:\Users\naija03.TANT-A01\AppData\Roaming\npm\node_modules\protractor\node_modules\webdriver-manager\selenium\IEDriverServer_x64_2.53.1.exe
10:47:43.313 INFO - Java: Oracle Corporation 25.101-b13
10:47:43.313 INFO - OS: Windows 10 10.0 amd64
10:47:43.316 INFO - v2.53.1, with Core v2.53.1. Built from revision a36b8b1
10:47:43.347 INFO - Driver class not found: com.opera.core.systems.OperaDriver
10:47:43.347 INFO - Driver provider com.opera.core.systems.OperaDriver is not registered
10:47:43.364 INFO - Driver provider org.openqa.selenium.safari.SafariDriver registration is skipped:
registration capabilities Capabilities [{browserName=safari, version=, platform=MAC}] does not match the current platform WIN10
10:47:43.364 INFO - Driver class not found: org.openqa.selenium.htmlunit.HtmlUnitDriver
10:47:43.364 INFO - Driver provider org.openqa.selenium.htmlunit.HtmlUnitDriver is not registered
10:47:43.424 INFO - RemoteWebDriver instances should connect to: http://127.0.0.1:4444/wd/hub
10:47:43.424 INFO - Selenium Server is up and running
10:47:46.918 INFO - Executing: [new session: Capabilities [{browserName=chrome, chromeOptions={args=[--load-extension=C:/Users/naija03.TANT-A01/AppData/Roaming/npm/node_modules/elementor/extension]}}]])
10:47:46.919 INFO - Creating a new session for Capabilities [{browserName=chrome, chromeOptions={args=[--load-extension=C:/Users/naija03.TANT-A01/AppData/Roaming/npm/node_modules/elementor/extension]}}]
Starting ChromeDriver 2.22.397933 (1cab651507b88dec79b2b2a22d1943c01833cc1b) on port 23911
Only local connections are allowed.
10:47:49.818 WARN - Exception thrown
java.util.concurrent.ExecutionException: org.openqa.selenium.WebDriverException: java.lang.reflect.InvocationTargetException
Build info: version: '2.53.1', revision: 'a36b8b1', time: '2016-06-30 17:37:03'
System info: host: 'naija03-win10a', ip: '10.132.141.236', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_101'
Driver info: driver.version: unknown
at java.util.concurrent.FutureTask.report(Unknown Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at org.openqa.selenium.remote.server.DefaultSession.execute(DefaultSession.java:183)
at org.openqa.selenium.remote.server.DefaultSession.(DefaultSession.java:119)
at org.openqa.selenium.remote.server.DefaultSession.createSession(DefaultSession.java:95)
at org.openqa.selenium.remote.server.DefaultDriverSessions.newSession(DefaultDriverSessions.java:124)
at org.openqa.selenium.remote.server.handler.NewSession.handle(NewSession.java:59)
at org.openqa.selenium.remote.server.handler.NewSession.handle(NewSession.java:1)
at org.openqa.selenium.remote.server.rest.ResultConfig.handle(ResultConfig.java:111)
at org.openqa.selenium.remote.server.JsonHttpCommandHandler.handleRequest(JsonHttpCommandHandler.java:79)
at org.openqa.selenium.remote.server.DriverServlet.handleRequest(DriverServlet.java:204)
at org.openqa.selenium.remote.server.DriverServlet.doPost(DriverServlet.java:166)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at org.openqa.selenium.remote.server.DriverServlet.service(DriverServlet.java:132)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.openqa.jetty.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at org.openqa.jetty.jetty.servlet.ServletHandler.dispatch(ServletHandler.java:680)
at org.openqa.jetty.jetty.servlet.ServletHandler.handle(ServletHandler.java:571)
at org.openqa.jetty.http.HttpContext.handle(HttpContext.java:1526)
at org.openqa.jetty.http.HttpContext.handle(HttpContext.java:1479)
at org.openqa.jetty.http.HttpServer.service(HttpServer.java:920)
at org.openqa.jetty.http.HttpConnection.service(HttpConnection.java:820)
at org.openqa.jetty.http.HttpConnection.handleNext(HttpConnection.java:986)
at org.openqa.jetty.http.HttpConnection.handle(HttpConnection.java:837)
at org.openqa.jetty.http.SocketListener.handleConnection(SocketListener.java:243)
at org.openqa.jetty.util.ThreadedServer.handle(ThreadedServer.java:358)
at org.openqa.jetty.util.ThreadPool$PoolThread.run(ThreadPool.java:537)
Caused by: org.openqa.selenium.WebDriverException: java.lang.reflect.InvocationTargetException
Build info: version: '2.53.1', revision: 'a36b8b1', time: '2016-06-30 17:37:03'
System info: host: 'naija03-win10a', ip: '10.132.141.236', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_101'
Driver info: driver.version: unknown
at org.openqa.selenium.remote.server.DefaultDriverProvider.callConstructor(DefaultDriverProvider.java:113)
at org.openqa.selenium.remote.server.DefaultDriverProvider.newInstance(DefaultDriverProvider.java:97)
at org.openqa.selenium.remote.server.DefaultDriverFactory.newInstance(DefaultDriverFactory.java:60)
at org.openqa.selenium.remote.server.DefaultSession$BrowserCreator.call(DefaultSession.java:222)
at org.openqa.selenium.remote.server.DefaultSession$BrowserCreator.call(DefaultSession.java:1)
at java.util.concurrent.FutureTask.run(Unknown Source)
at org.openqa.selenium.remote.server.DefaultSession$1.run(DefaultSession.java:176)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.openqa.selenium.remote.server.DefaultDriverProvider.callConstructor(DefaultDriverProvider.java:103)
... 9 more
Caused by: org.openqa.selenium.SessionNotCreatedException: session not created exception
from unknown error: Runtime.executionContextCreated has invalid 'context': {"auxData":{"frameId":"6076.1","isDefault":true},"id":1,"name":"","origin":"://"}
(Session info: chrome=54.0.2840.71)
(Driver info: chromedriver=2.22.397933 (1cab651507b88dec79b2b2a22d1943c01833cc1b),platform=Windows NT 10.0.14393 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 1.99 seconds
Build info: version: '2.53.1', revision: 'a36b8b1', time: '2016-06-30 17:37:03'
System info: host: 'naija03-win10a', ip: '10.132.141.236', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_101'
Driver info: org.openqa.selenium.chrome.ChromeDriver
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:249)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:131)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:144)
at org.openqa.selenium.chrome.ChromeDriver.(ChromeDriver.java:170)
at org.openqa.selenium.chrome.ChromeDriver.(ChromeDriver.java:138)
... 14 more
10:47:49.818 WARN - Exception: session not created exception
from unknown error: Runtime.executionContextCreated has invalid 'context': {"auxData":{"frameId":"6076.1","isDefault":true},"id":1,"name":"","origin":"://"}
(Session info: chrome=54.0.2840.71)
(Driver info: chromedriver=2.22.397933 (1cab651507b88dec79b2b2a22d1943c01833cc1b),platform=Windows NT 10.0.14393 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 1.99 seconds
Build info: version: '2.53.1', revision: 'a36b8b1', time: '2016-06-30 17:37:03'
System info: host: 'naija03-win10a', ip: '10.132.141.236', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_101'
Driver info: org.openqa.selenium.chrome.ChromeDriver

Add copy to clipboard button next to locators found

Hi Andres, first of all congratulations for this amazing tool! very handy and I foresee a great future here. I imagine at some point having a complete Protractor IDE on top of this that would be analog to what used to be Selenium IDE but instead of recording actions within the tool it would turn them into effective Jasmine/other framework test scripts.

Back to the issue at hand; I tried to add a copy to clipboard button next to the locators found through locatorFinder.js but realized in the process that is not possible to add html through protractorSidebar.setObject() just JSON key-value pairs & structures allowed.

So tried setPage but couldn't find a way to update that html through chrome.runtime.connect or whatever. Even tried with desktop rich notifications but that copied everything, not just 1 locator at a time.

Anyway, it would be handy to be able have a button to copy the preferred selector to the clipboard to avoid manually selecting & copying it.

Elementor does not running on protractor version 4.0.9

I am getting this error when I execute command elementor https://any angular URL

Creating protractor configuration file
Starting protractor
Running command: [node C:\Users\akber\AppData\Roaming\npm\node_modules\elementor
\node_modules\protractor\built\cli.js --elementExplorer true --debuggerServerPor
t 6969 C:\Users\akber\AppData\Local\Temp\protractor-conf116823-9388-1x0wdop]
[17:55:17] I/hosted - Using the selenium server at http://localhost:4444/wd/hub
[17:55:19] I/protractor -
[17:55:19] I/protractor - ------- Element Explorer -------
[17:55:19] I/protractor - Starting WebDriver debugger in a child process. Elemen
t Explorer is still beta, please report issues at github.com/angular/protractor
[17:55:19] I/protractor -
[17:55:19] I/protractor - Type to see a list of locator strategies.
[17:55:19] I/protractor - Use the list helper function to find elements by str
ategy:
[17:55:19] I/protractor - e.g., list(by.binding('')) gets all bindings.
[17:55:19] I/protractor -
Server listening on 127.0.0.1:6969
Done starting protractor
Starting elementor
Elementor is listening on http://localhost:13000
Getting page at: http://any angular URL
events.js:141
throw er; // Unhandled 'error' event
^

Error: write EPIPE
at exports._errnoException (util.js:907:11)
at Socket._writeGeneric (net.js:697:26)
at Socket._write (net.js:716:8)
at doWrite (_stream_writable.js:300:12)
at writeOrBuffer (_stream_writable.js:286:5)
at Socket.Writable.write (_stream_writable.js:214:11)
at Socket.write (net.js:642:40)
at emitOne (events.js:77:13)
at Socket.emit (events.js:169:7)
at readableAddChunk (_stream_readable.js:153:18)

  • Node Version: 4.5.0
  • Protractor Version: 4.0.9
  • Browser(s): Chrome
  • Operating System and Version: Windows 7

Fatal error on install plugin

When I install Elementor, I got this error! any idea?
Fatal error: Call to undefined function Elementor\get_post_types_by_support() in D:\Dropbox\xampp\htdocs\test\wordpress\wp-content\plugins\elementor\includes\managers\revisions.php on line 110

Allow user choose section ID

Is there anyway to allow user choose a custom ID for section? instead of auto generated IDs?
I want to make a template with sections for an onepage page, and need to set anchors on menus for sections:

Section About: #aboutus
on menu

But currently section IDs are like: #elementor-element-px4s9dr

any idea?

Getting error while starting elementor

While starting elementor I am getting popup displaying error:
Script: here complete path of elementor.js is displayed
Line: 1
Char: 1
Error: Invalid character
Code: 800A03F6
Source: Microsoft JScript compilation error

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.