Skip to content
#

selenium-webdriver

Here are 2,136 public repositories matching this topic...

codegain
codegain commented Dec 4, 2019

What are you trying to achieve? (Expected behavior)

If I have a cookie from webdriver I expect to read the "SameSite" attribute of the cookie.

What do you get instead? (Actual behavior)

In https://github.com/facebook/php-webdriver/blob/community/lib/Cookie.php#L49 the "SameSite" attribute is not saved in the cookie.

Details

  • Php-webdriver version: 1.7.1
  • PHP version: 7.3.
asolntsev
asolntsev commented Mar 4, 2020

People often want to use proxy server like BrowserUp (former BrowserMobProxy) to intercept requests/responses between browser and server.

When browser is run inside Selenoid container, the proxy should be also run inside the same container.
I suggest to add BrowserUp proxy to Selenoid containers with Chrome, Firefox and other browsers.

From

Glassback
Glassback commented Apr 19, 2020

Thanks for your amazing job! I'm trying to use your scraper but it didn't works... It redirect to a 404 page.... Can you help me?

`scrapy crawl companies -a selenium_hostname=localhost -o output.csv
INFO:scrapy.utils.log:Scrapy 2.0.1 started (bot: scrapybot)
2020-04-19 12:10:18 [scrapy.utils.log] INFO: Scrapy 2.0.1 started (bot: scrapybot)
INFO:scrapy.utils.log:Versions: lxml 4.5.0.0, libxml

wowza-mccarthy
wowza-mccarthy commented Aug 19, 2019

I followed the steps to get it working, and after npm test, I ran into:

> jest-webdriver@ test /Users/mac.mccarthy/Documents/workdesk/test/jest-webdriver
> jest --coverage

 FAIL  packages/jest-screenshot-reporter/modules/__tests__/JestScreenshotReporter-test.js
  ● Test suite failed to run

    SecurityError: localStorage is not available for opaque origins

      at Window.get 
paras55
paras55 commented Feb 16, 2020

when run with following code :
with MyConnectionScraper(cookie='AQEDAS9oddoAec7fAAABcD_bsSwAAAFwY-g1LFEAR5RwykzJFoxZQ1ZjaMH2vcXgsasLMFb0GwyGbqgh_guqW-K122YvSwg2_zhDnX_gbpdXrYjPqY5Mq9U2o3KmrfQCYbImYSAmUOTVDuPpUoBPkS') as scraper:
connections=scraper.scrape()
people=connections.to_dict()

no such element: Unable to locate element: {"method":"css selector","selector":".mn-connections > h

randyl
randyl commented Mar 26, 2020

The documentation for general_action in the driver says this:

key => A raw keycode or character from the keyboard if this is a key event

I think it should be "value" instead of "key".

Using "key":

$driver->general_action( actions => [ { type => 'key', id => 'key', actions => [ { type => 'keyDown', key => KEYS->{'shift'} } ] } ] );

Produced this error:

'value' must be
RichiCoder1
RichiCoder1 commented Nov 12, 2018

Both firefox and chrome (with some noise from Edge) support headless, and the selenium images referenced in the readme allow disabling running the display server if the inner browsers support headless. Would be great to either A) have a headless option or B) have the abilities to append capabilities.

Improve this page

Add a description, image, and links to the selenium-webdriver topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the selenium-webdriver topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.