back soft

مطالب مرتبط با «selenium c» در back soft | نویسنده: استخدام کار

Trying to download zip file using python, selenium. Script completes but zip file doesn't show up in specified directory

امروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...

ادامه مطلب

Make Selenium choose specific Dropdown menu PYTHON3

امروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...

ادامه مطلب

Getting Null pointer Exception while running cucumber test with selenium webdriver in java

امروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...

ادامه مطلب

How to click option in dropdown menu which does not have "select" tag using Selenium Python?

امروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...

ادامه مطلب

Find and get element from site with Selenium

امروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...

ادامه مطلب

Automatically selecting and uploading files in Selenium IDE

امروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...

ادامه مطلب

Bootstrap element not clickable with selenium python

Vote count:
 0I have a Bootstrap close button: When it is clicked it is supposed to make the class box disappear which works fine with the mouse cursor. However, no matter how I address it with selenium, it doesn't work (I am using LiveServerTestCase:element = self.selenium.find_element_...

ادامه مطلب

Applet Menu automation in Selenium

Vote count: -1 How can I automate Applet Menu by using selenium Web driver I'm trying to automate applet menu in IE8 using selenium, i tried many ways. I can't find any way to click on menu. Am i missing some thing regarding this how to do ? Need assistance. asked 3 mins agoadla praveen Let's block ads! بخوانید...

ادامه مطلب

How to select a value from Autolist (search suggestions) in Selenium Python

Vote count: 0 Go to google.com Type a keyword (as shown in the attachment) I want to select 3rd or 4th value from the search suggestions. What method shd I use in selenium python ? strong text asked 41 secs agoZabi Let's block ads! بخوانید...

ادامه مطلب

Selenium C# - driver "pause" , open new form and get data from it, continue driver and paste data

Vote count: 0 I'm having problem with Selenium driver, because it freezes my form which contains crucial data for the rest of the task. Here is part of the code where problem occurs : element.SendKeys(OpenQA.Selenium.Keys.Enter); SendKeys.Send("{TAB}"); driver.Manage().Timeouts().SetScriptTimeout(TimeSpan.FromSeconds(15)); MainForm FormN = new MainForm(); FormN.Show(); It freezes here and it skips PerformClick(); action and proceeds to "FindElement(By.Id..." FormN.btnCopy.PerformClick(); FormN.Close(); driver.FindElement(By.Id("twofactorcode_entry")).Click(); I already tried : async, sleep, ImplicitlyWait etc. Note : When driver finished the task, then form loads normally. asked 44 secs agoq...

ادامه مطلب

How to get X/Y coordinates from the google maps using Selenium

Vote count: 0 Is there any way to get the coordinates points present on google maps. Consider below example, as there are so many vehicles present and can we get the coordinates for the respective vehicles. asked 35 secs agoPrateek.Naik Let's block ads! بخوانید...

ادامه مطلب

Is it possible to run chrome in mobile emulation mode with Selenium Server with InternJS

Vote count: 0 I am trying to run Inte JS functional test-cases using local Selenium server. I am trying to run the test cases with chrome in mobile emulated mode. But, I am not able to figure out the right configuration. I have tried using this environment. environments: [ { browserName: 'chrome'} , 'mobileEmulation': { "deviceName": "Google Nexus 5", "deviceMetrics": {'width': 360, 'height': 640, 'pixelRatio': 3}} } ], Also, I have tried capabilities: { 'selenium-version': '2.53.1', 'idle-timeout': 30, "screen-resolution": "360x640" } and capabilities: { 'selenium-version': '2.53.1', 'idle-timeout': 30, 'mobileEmulationEnabled': true } Is this even possible? asked 17 secs agoDevendra Bhatte...

ادامه مطلب

Selenium and Java trying to find a tag inside a table cell

Vote count: 0 I'm using all the standard ways to parse a table. WebElement table = driver.findElement(By.name("TableName")); List tableRows = table.findElements(By.xpath("tbody/tr")); List td_collection = trElement.findElements(By.tagName("td")); WebElement dropDownElement = null; for(WebElement tdElement : td_collection) There is a select tag within the columns: name 1 name 2 some name I tried: dropDownElement = (WebElement) tdElement.findElements(By.tagName("select")); dropDownElement = tdElement thank you for the support. asked 25 secs agoGringo Golf This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the ...

ادامه مطلب

Setting accepted language header in Capybara + Selenium + Chrome

Vote count: 0 I'm using Capybara, Selenium and Chrome in my code and I just realized that the code is failing on machines with non-english locales (because Chrome is requesting the pages in different languages). How can I force english as the only accepted language? asked 21 secs agoalexandest Let's block ads! بخوانید...

ادامه مطلب

selenium python3 The browser appears to have exited before we could connect

Vote count: 0 I am a noob python programmer and have recently been pushing through my first textbook on this language called "Automate the Boring Stuff with Python". I have gotten to the web scraping section and I am being instructed to access firefox via Selenium. I have found a few resources online about my error message but I do not have enough experience to relate back to a solution for myself. Here is the code and then error code it leaves. from selenium import webdriver browser = webdriver.Firefox() Traceback (most recent call last): File "", line 1, in browser = webdriver.Firefox() File "C:Python35-32libsite-packagesseleniumwebdriverfirefoxwebdriver.py", line 81, in __init__ self.bina...

ادامه مطلب

finding hidden form elements in selenium webdriver

Vote count: 0 can somebody help me with the following, i would like to submit a form which contains several hidden elements. for example, if i use findElement(By.xpath());, i can find fields like name, email, and phone, and can pass data through sendKeys.but unable to find the button "Send Message" and click it. Thanks in advance. asked 10 mins agoIvar Let's block ads! بخوانید...

ادامه مطلب

Python3 Selenium Load Offline Files

Vote count: 0 So I have an rpi that will be used to display a webpage on a monitor, and I'm using python3 selenium to do it. I want it to be able to download the webpage offline so that if something happens to its coection, it still functions. I have downloaded the webpage, and it works if I manually load it (There is the main.html and main_files folder with the css, images, etc.) just by double clicking the main.html file. However, I think the issue is that selenium doesn't know where to find the images, or the main_files folder. Strangely, it still gets the css, it's just the images that are blank. Anyone have any experience with this or know a possible solution? I've done some googling bu...

ادامه مطلب

Changing the log level for a selenium node running in docker

Vote count: 0 Our team is deploying a selenium grid within the docker container. The default log level appears to be set at INFO. I'd like to tu them up to SEVERE or completely off. I made two attempts, but neither appear to work: Method One: From the selenium client, I've tries to set LoggingPreferences on the RemoteWebDriver within DesiredCapabilities: DesiredCapabilities desiredCapabilities = DesiredCapabilities.firefox(); LoggingPreferences logs = new LoggingPreferences(); logs.enable(LogType.BROWSER, Level.SEVERE); logs.enable(LogType.CLIENT, Level.SEVERE); ogs.enable(LogType.DRIVER, Level.SEVERE); logs.enable(LogType.SERVER, Level.SEVERE); desiredCapabilities.setCapability(CapabilityTy...

ادامه مطلب

Selenium IE Webdriver: Unable to switch to jQuery Modal window

Vote count: 0 I want to switch to jQuery Modal window which is generated when an image is clicked. However Selenium (IE Webdriver) is not able to recognize the modal window generated and unable to switch. No exception/error is displayed! IE Version - 11 Selenium version - 2.53 IE WebDriver version - 2.53.1 The code I have tried for switching: objMovePage.clickFromAccountPicker(); //Image clicked Thread.sleep(2000); //Wait for new window to show up Set windows = driver.getWindowHandles(); System.out.println(windows.size()); // This retus 1 always. for(String handle: windows) { driver.switchTo().window(handle); } System.out.println(driver.getTitle()); //Prints current window title I have also ...

ادامه مطلب

Error while checking for headers using :selenium web driver in rspec/capybara test

Vote count: 0 I have a rspec/capybara test which fails with the following error because Selenium does not support headers, however this test works fine with :rack_test driver. Since a lot of my other tests heavily rely on Selenium I caot change the driver to :rack_test. How do I fix this? Is there a way to run this specific test with :rack_test driver while other tests still use the default :selenium driver? error-report.xml ']]> rails_helper.rb Capybara.ignore_hidden_elements = false Capybara.configure do |c| c.default_driver = :selenium # BREAKS :( !!!!! c.app_host = "http://localhost:3000" end transaction_search_spec.rb require 'rails_helper' require 'capybara/rspec' RSpec.feature 'Transa...

ادامه مطلب