Comments (17)
can u please give an update on this..
Original comment by [email protected]
on 13 Apr 2012 at 1:17
from chromedriver.
Thanks for the report. However, I was unable to reproduce this bug on Chrome 18
with ChromeDriver 1068 for your sample html.
Are you using the remote webdriver server, or are you just instantiating
ChromeDriver directly? Either way works for me. Are you using the Java
WebDriver client? Can you post a full sample code, along with your
chromedriver.log file?
Original comment by [email protected]
on 19 Apr 2012 at 8:17
from chromedriver.
org.openqa.selenium.WebDriverException: 'file:/C:/Usersdata/2012.zip' does not
exist on the file system (WARNING: The server did not provide any stacktrace
information)
Command duration or timeout: 78 milliseconds
Build info: version: '2.21.0', revision: '16552', time: '2012-04-11 19:09:00'
System info: os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1',
java.version: '1.6.0_29'
Driver info: driver.version: RemoteWebDriver
This the exception i was getting.
The file is present in the specified location.
Original comment by [email protected]
on 20 Apr 2012 at 10:51
from chromedriver.
Can u just provide an example about the file upload.. This would be really
helpful.
Original comment by [email protected]
on 20 Apr 2012 at 12:53
from chromedriver.
System.setProperty("webdriver.chrome.driver", "C:\\temp\\chromedriver.exe");
ChromeDriver d = new ChromeDriver();
d.executeScript("document.body.innerHTML='<input type=file></input>'");
d.setFileDetector(new LocalFileDetector());
d.findElement(By.id("chooseLocalFile")).sendKeys("C:\\temp\\chromedriver.log");
//Manually verify that the file has been uploaded.
Thread.sleep(6000);
Original comment by [email protected]
on 20 Apr 2012 at 3:03
from chromedriver.
Although actually you don't need to call setFileDetector.
Original comment by [email protected]
on 20 Apr 2012 at 3:05
from chromedriver.
How is this low priority? The 'Choose File' button DOES NOT WORK; that's a
serious concern.
I'm using the latest version of Chrome: 18.0.1025.168
Original comment by vgmforbin
on 4 May 2012 at 4:44
from chromedriver.
This is only low priority because I haven't been able to confirm the bug yet.
Please try my sample test or provide a simple reproducible test case that
causes the problem to occur. Also please attach your chromedriver.log.
Original comment by [email protected]
on 4 May 2012 at 6:01
from chromedriver.
[deleted comment]
from chromedriver.
i am observing the same error message in Chrome.Observing the following
statement.
driver.findElement(By.id("TabID")).sendKeys(""); ---- this is working fine in
firefox by sending a NULL path.
'' does not exist on the file system (WARNING: The server did not provide any
stacktrace information) Command duration or timeout: 43 milliseconds Build
info: version: '2.21.0', revision: '16552', time: '2012-04-11 19:09:00' System
info: os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version:
'1.6.0_31' Driver info: driver.version: RemoteWebDriver
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:175)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:128)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:459)
at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:245)
at org.openqa.selenium.remote.RemoteWebElement.sendKeys(RemoteWebElement.java:88)
Original comment by [email protected]
on 21 May 2012 at 1:54
from chromedriver.
what do you expect to happen when you pass an empty string?
Original comment by [email protected]
on 21 May 2012 at 3:34
from chromedriver.
I am expecting this should not select any image. I am verifying an error
message "you should select an image to continue....." - when an image is not
selected, while saving the changes.
Getting the above message properly in firefox, but not in Chrome.
Original comment by [email protected]
on 22 May 2012 at 6:14
from chromedriver.
Can you send keys for a real file that is not an image? Will that work for your
case?
Original comment by [email protected]
on 22 May 2012 at 3:43
from chromedriver.
Yes. It is working fine both in Firefox and Chrome when i am using a real file
(not an image). But, in this case i am getting different message:
"Your image must be one of the following formats. .jpg, .jpeg, .gif"
How can i verify the other case, when i am not passing any file location, just
a blank??
Original comment by [email protected]
on 23 May 2012 at 6:21
from chromedriver.
I see. I do not see us supporting your use case anytime in the near future.
That said, it should be possible to emulate such behavior by using javascript
and webdriver's execute script method.
Original comment by [email protected]
on 6 Aug 2012 at 5:44
- Changed title: Can't test blank/empty file upload scenarios
- Changed state: WontResolve
from chromedriver.
Original comment by [email protected]
on 13 Mar 2013 at 11:45
- Changed state: Closed
from chromedriver.
Original comment by [email protected]
on 21 Feb 2015 at 12:27
- Changed state: Fixed
from chromedriver.
Related Issues (20)
- Standardise CSS colours to RGBA HOT 6
- how can we not wait for the page has finished loading can continue to execute code after click() method HOT 4
- Can no long pass extensions as Base64 encoder CRX files. HOT 3
- Unexpected error. System.Object when using ImplicitlyWait HOT 4
- Finding element by compound CSS selector fails HOT 6
- SendKeys is slow HOT 7
- Java bindings are slow on linux HOT 5
- Headers names (at least for content-length) are interpreted as case-sensitive HOT 6
- Can't access gmail. HOT 4
- Disable popup blocking by default HOT 7
- Update ChromeOptions to include new ChromeDriver capabilities HOT 13
- close() on Chrome Web Driver causes pipe & channel errors HOT 8
- Chrome webdriver hangs (not reponding to check elements with css location HOT 5
- Chrome webdriver hangs (not reponding to check elements with css location) HOT 1
- ChromeDriver calls to Close() or Quit() crash ChromeDriver.exe HOT 22
- Incorrect rect objects are used in Session::GetClickableLocation method HOT 3
- running javascript crashes chromedriver HOT 5
- chromedriver throwing error for collections(find_elements) Selenium::WebDriver::Error::UnknownError: findElements HOT 28
- Chromedriver.exe stays running and leaves behind scoped_dir HOT 12
- chrome.prefs capability works unreliably
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chromedriver.