Code Monkey home page Code Monkey logo

webkitdriver's People

Stargazers

Bernard Ojengwa avatar

webkitdriver's Issues

Compiling on ICU dependent code breaks

I am using "rake" on the trunk (not sure of the revision at this time) and I am 
getting compilation errors on TextBreakIteratorICU.cpp.

My libicu version is 4.4.2

Original issue reported on code.google.com by [email protected] on 14 Jul 2011 at 6:37

Keyboard events handling for search input field

Input type of type 'search' has special handing in WebKit code, making current 
implementation of sendKeys does not work correctly for this type of input - 
text is not inserted into the field.

As a temporary solution, this special handling was removed by re-implementing 
RenderTextControlSingleLine::createSubtreeIfNeeded() in 
WebCore/platform/hl/RenderTextControlSingleLine.cpp, however less intrusive 
solution is needed. 

Original issue reported on code.google.com by [email protected] on 9 Dec 2010 at 6:50

using libhlwk.so in C++

What steps will reproduce the problem?
1. linking a C++ application with libhlwk.so
2.
3.

What is the expected output? What do you see instead?
This is the error:
../../webkitdriver/hlwk/WebKitBuild/Release/libhlwk.so||undefined reference to 
`WebCore::CSSParser::lex()'|

What version of the product are you using? On what operating system?
ubuntu 10.04.3 LTS

g++ --version:
g++ (Ubuntu 4.4.3-4ubuntu5) 4.4.3

Please provide any additional information below.
I'm trying to use webkitdriver in C++. Webkitdriver build successfully, but 
can't be linked to any program.

Original issue reported on code.google.com by [email protected] on 1 Aug 2011 at 8:42

findElementById should use Document.getElementById

WebKitWebElement.java has the following code to find a given element by its ID: 


  public List<WebElement> findElementById(String id) {
    assertElementNotStale();
    return findElementByXPath(".//*[@id ='" + id +"']");
  }

WebCore::Document class has a convenient method called getElementById. 
findElementById should use that instead of resorting to xpath to improve 
performance. 

Original issue reported on code.google.com by [email protected] on 5 Dec 2010 at 5:47

build failed

What steps will reproduce the problem?
1. checkout as wiki build instruction
2. run rake
3.

What is the expected output? What do you see instead?
acamargo@ncc1701d:~/src/webkitdriver$ rake
(in /home/acamargo/src/webkitdriver)
rake
(in /home/acamargo/src/webkitdriver/hlwk)
rake aborted!
undefined method `+' for nil:NilClass
/home/acamargo/src/webkitdriver/hlwk/Rakefile:69
(See full trace by running task with --trace)
rake aborted!
Command failed with status (1): [rake...]
/home/acamargo/src/webkitdriver/Rakefile:5
(See full trace by running task with --trace)

What version of the product are you using? On what operating system?
checkout as on wiki. Ubuntu 10.04 LTS 64 bits
~/src/webkitdriver$ uname -a
Linux ncc1701d 2.6.32-28-generic #55-Ubuntu SMP Mon Jan 10 23:42:43 UTC 2011 
x86_64 GNU/Linux

 rake --version
rake, version 0.8.7

ruby --version
ruby 1.8.7 (2010-01-10 patchlevel 249) [x86_64-linux]


Please provide any additional information below.
I'd like to do some tests with webkit driver for selenium. There are some 
nightly builds?

Original issue reported on code.google.com by [email protected] on 19 Feb 2011 at 12:34

Build fails on TextBreakIteratorICU

What steps will reproduce the problem?
1. checkout and build the project as described on wiki page

What version of the product are you using? On what operating system?
Latest, Linux Mint 13 x64


Build output (fragment):


make: Nothing to be done for `all'.
make: Leaving directory 
`/home/artur/projects/work/3rdparty/webkitdriver/hlwk/WebCore/DerivedSources'
[797 / 1589] WebCore/platform/text/TextBreakIteratorICU.cpp
WebCore/platform/text/TextBreakIteratorICU.cpp: In function 
‘WebCore::TextBreakIterator* WebCore::setUpIterator(bool&, 
WebCore::TextBreakIterator*&, UBreakIteratorType, const UChar*, int)’:
WebCore/platform/text/TextBreakIteratorICU.cpp:41:114: error: invalid 
static_cast from type ‘UBreakIterator*’ to type 
‘WebCore::TextBreakIterator*’
WebCore/platform/text/TextBreakIteratorICU.cpp:49:58: error: cannot convert 
‘WebCore::TextBreakIterator*’ to ‘UBreakIterator*’ for argument ‘1’ 
to ‘void ubrk_setText_48(UBreakIterator*, const UChar*, int32_t, 
UErrorCode*)’
WebCore/platform/text/TextBreakIteratorICU.cpp: In function ‘int 
WebCore::textBreakFirst(WebCore::TextBreakIterator*)’:
WebCore/platform/text/TextBreakIteratorICU.cpp:90:25: error: cannot convert 
‘WebCore::TextBreakIterator*’ to ‘UBreakIterator*’ for argument ‘1’ 
to ‘int32_t ubrk_first_48(UBreakIterator*)’
WebCore/platform/text/TextBreakIteratorICU.cpp: In function ‘int 
WebCore::textBreakLast(WebCore::TextBreakIterator*)’:
WebCore/platform/text/TextBreakIteratorICU.cpp:95:24: error: cannot convert 
‘WebCore::TextBreakIterator*’ to ‘UBreakIterator*’ for argument ‘1’ 
to ‘int32_t ubrk_last_48(UBreakIterator*)’
WebCore/platform/text/TextBreakIteratorICU.cpp: In function ‘int 
WebCore::textBreakNext(WebCore::TextBreakIterator*)’:
WebCore/platform/text/TextBreakIteratorICU.cpp:100:24: error: cannot convert 
‘WebCore::TextBreakIterator*’ to ‘UBreakIterator*’ for argument ‘1’ 
to ‘int32_t ubrk_next_48(UBreakIterator*)’
WebCore/platform/text/TextBreakIteratorICU.cpp: In function ‘int 
WebCore::textBreakPrevious(WebCore::TextBreakIterator*)’:
WebCore/platform/text/TextBreakIteratorICU.cpp:105:28: error: cannot convert 
‘WebCore::TextBreakIterator*’ to ‘UBreakIterator*’ for argument ‘1’ 
to ‘int32_t ubrk_previous_48(UBreakIterator*)’
WebCore/platform/text/TextBreakIteratorICU.cpp: In function ‘int 
WebCore::textBreakPreceding(WebCore::TextBreakIterator*, int)’:
WebCore/platform/text/TextBreakIteratorICU.cpp:110:34: error: cannot convert 
‘WebCore::TextBreakIterator*’ to ‘UBreakIterator*’ for argument ‘1’ 
to ‘int32_t ubrk_preceding_48(UBreakIterator*, int32_t)’
WebCore/platform/text/TextBreakIteratorICU.cpp: In function ‘int 
WebCore::textBreakFollowing(WebCore::TextBreakIterator*, int)’:
WebCore/platform/text/TextBreakIteratorICU.cpp:115:34: error: cannot convert 
‘WebCore::TextBreakIterator*’ to ‘UBreakIterator*’ for argument ‘1’ 
to ‘int32_t ubrk_following_48(UBreakIterator*, int32_t)’
WebCore/platform/text/TextBreakIteratorICU.cpp: In function ‘int 
WebCore::textBreakCurrent(WebCore::TextBreakIterator*)’:
WebCore/platform/text/TextBreakIteratorICU.cpp:120:27: error: cannot convert 
‘WebCore::TextBreakIterator*’ to ‘const UBreakIterator*’ for argument 
‘1’ to ‘int32_t ubrk_current_48(const UBreakIterator*)’
WebCore/platform/text/TextBreakIteratorICU.cpp: In function ‘bool 
WebCore::isTextBreak(WebCore::TextBreakIterator*, int)’:
WebCore/platform/text/TextBreakIteratorICU.cpp:125:35: error: cannot convert 
‘WebCore::TextBreakIterator*’ to ‘UBreakIterator*’ for argument ‘1’ 
to ‘UBool ubrk_isBoundary_48(UBreakIterator*, int32_t)’
WebCore/platform/text/TextBreakIteratorICU.cpp: In function 
‘WebCore::TextBreakIterator* WebCore::setUpIteratorWithRules(bool&, 
WebCore::TextBreakIterator*&, const char*, const UChar*, int)’:
WebCore/platform/text/TextBreakIteratorICU.cpp:139:135: error: invalid 
static_cast from type ‘UBreakIterator*’ to type 
‘WebCore::TextBreakIterator*’
WebCore/platform/text/TextBreakIteratorICU.cpp:147:58: error: cannot convert 
‘WebCore::TextBreakIterator*’ to ‘UBreakIterator*’ for argument ‘1’ 
to ‘void ubrk_setText_48(UBreakIterator*, const UChar*, int32_t, 
UErrorCode*)’
rake aborted!
Command failed with status (1): [g++ -c -o WebKitBuild/Release/TextBreakIte...]

Tasks: TOP => default => libhlwk.so => WebKitBuild/Release/libhlwk.so => 
WebKitBuild/Release/TextBreakIteratorICU.o
(See full trace by running task with --trace)
rake aborted!
Command failed with status (1): [rake...]

Original issue reported on code.google.com by [email protected] on 13 Oct 2012 at 11:40

should expose C interface

The current code is tightly coupled to the Java language. It would be great if 
webkitdriver could expose a pure-C interface similar (or if possible, 
identical) to what's provided by the IE driver:

http://code.google.com/p/selenium/source/browse/trunk/jobbie/src/cpp/InternetExp
lorerDriver/webdriver.h

This would make it easy to create bindings for other languages (e.g. via 
FFI/ctypes).   

Original issue reported on code.google.com by jari.bakken on 12 Jun 2010 at 4:18

WebKitDriver needs a mailing list

I'd like to contact you about the project, ask build questions, and start 
contributing code, but you don't have a mailing list or group for the project. 
What is the best way to get involved?

Original issue reported on code.google.com by [email protected] on 6 Nov 2010 at 6:55

broken build

Cannot build webdriver_hlwk from the trunk. (Rev 92)

The build fails because the Webdriver project dropped the 
org.openqa.selenium.RenderedWebElement interface. (see below)

The following info comes from the svn history of the WebDriver trunk:

SimonStewart: Deleting rendered web element. May she rest in pieces
------------------------------------------------------------------------
r12330 | simon.m.stewart | 2011-06-02 16:13:10 +0200 (Thu, 02 Jun 2011) | 1 line
Changed paths:
   M /trunk/java/client/src/org/openqa/selenium/RenderedWebElement.java
   M /trunk/java/client/src/org/openqa/selenium/htmlunit/HtmlUnitWebElement.java
   M /trunk/java/client/src/org/openqa/selenium/remote/RenderedRemoteWebElement.java
   M /trunk/java/client/src/org/openqa/selenium/support/events/EventFiringWebDriver.java
   M /trunk/java/client/test/org/openqa/selenium/StubRenderedWebElement.java



****** build output *******

Building: webdriver_hlwk as build/webdriver_hlwk.jar
javac -cp 
/home/jgoelen/dev-workspaces/webkitdriver/WebDriver/build/java/client/src/org/op
enqa/selenium/base.jar:/home/jgoelen/dev-workspaces/webkitdriver/WebDriver/build
/java/client/src/org/openqa/selenium/internal/codecs.jar:/home/jgoelen/dev-works
paces/webkitdriver/WebDriver/build/java/client/src/org/openqa/selenium/webdriver
-api.jar:/home/jgoelen/dev-workspaces/webkitdriver/third_party/java/guava/guava-
r05.jar:build/webdriver_hlwk.jar -g -source 5 -target 5 -d 
build/webdriver_hlwk.jar_classes @src.txt
../driver/src/java/org/openqa/selenium/webkit/WebKitWebElement.java:51: cannot 
find symbol
symbol  : class RenderedWebElement
location: package org.openqa.selenium
import org.openqa.selenium.RenderedWebElement;
                          ^
../driver/src/java/org/openqa/selenium/webkit/WebKitWebElement.java:74: cannot 
find symbol
symbol: class RenderedWebElement
public class WebKitWebElement implements WebElement, RenderedWebElement,
                                                     ^
../driver/src/java/org/openqa/selenium/webkit/WebKitWebElement.java:432: cannot 
find symbol
symbol  : class RenderedWebElement
location: class org.openqa.selenium.webkit.WebKitWebElement
  public void dragAndDropOn(RenderedWebElement element) {
                            ^
../driver/src/java/org/openqa/selenium/webkit/WebKitWebElement.java:74: 
org.openqa.selenium.webkit.WebKitWebElement is not abstract and does not 
override abstract method getCssValue(java.lang.String) in 
org.openqa.selenium.WebElement
public class WebKitWebElement implements WebElement, RenderedWebElement,
       ^
../driver/src/java/org/openqa/selenium/webkit/WebKitDriver.java:84: 
org.openqa.selenium.webkit.WebKitDriver is not abstract and does not override 
abstract method clear() in org.openqa.selenium.html5.ApplicationCache
public class WebKitDriver implements WebDriver, SearchContext, 
JavascriptExecutor,
       ^
../driver/src/java/org/openqa/selenium/webkit/WebKitDriver.java:599: cannot 
find symbol
symbol  : constructor NoAlertPresentException()
location: class org.openqa.selenium.NoAlertPresentException
        throw new NoAlertPresentException();
              ^
Note: ../driver/src/java/org/openqa/selenium/webkit/WebKitDriver.java uses or 
overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
6 errors
rake aborted!
Command failed with status (1): [javac -cp /home/jgoelen/dev-workspaces/web...]







Original issue reported on code.google.com by [email protected] on 8 Aug 2011 at 10:53

Project won't build, missing SchedulePair.h

What steps will reproduce the problem?
1. checked out from svn
2. ran rake

What is the expected output? What do you see instead?
I expected it to build.  I got:

[22 / 1589] WebKitBuild/Release/deps/ScriptControllerBase.dep
In file included from WebCore/bindings/ScriptControllerBase.cpp:26:
WebCore/page/Page.h:31:26: error: SchedulePair.h: No such file or directory
rake aborted!


What version of the product are you using? On what operating system?
Mac OS X SnowLeopard 10.6

Please provide any additional information below.
I would love a snapshot build, even if it's not the final.

Original issue reported on code.google.com by [email protected] on 24 Sep 2010 at 8:48

Convert WebKitDriver to a remote WebDriver

Currently the WebKitDriver creates a new wrapper process around WebKit, and 
uses JNI and custom serialization-deserialization to communicate to the child 
process through sockets. 

To bring WebKitDriver inline with the rest of the WebDriver family, we should:

- Use mongoose.c (also used in IE and Chrome WebDrivers) to start a light 
weight web server in front of WebKit
- Use RemoteWebDriver to communicate to the server.
- Use Browser Atoms as the communication protocol 
http://code.google.com/p/selenium/wiki/AutomationAtoms. 


Original issue reported on code.google.com by [email protected] on 22 Nov 2010 at 10:20

The spawned processes are not killed properly

WebKitDriver starts a new child process with each new WebKitDriver() call. 

These processes are not killed properly upon calling close() or quit(). These 
leave unused resources around and may cause OOM exceptions in some cases. 

These processes must be properly killed. 


Original issue reported on code.google.com by [email protected] on 22 Nov 2010 at 10:22

Compilation errors after syncing to head of WebDriver

There as been API changes recently in WebDriver code base, which causes 
webkitdriver compilation breakage. Igor, can you look into these and see if 
these are easy to implement? 


../driver/src/java/org/openqa/selenium/webkit/WebKitDriver.java:85: 
org.openqa.selenium.webkit.WebKitDriver is not abstract and does not override 
abstract method executeAsyncScript(java.lang.String,java.lang.Object...) in 
org.openqa.selenium.JavascriptExecutor
public class WebKitDriver implements WebDriver, SearchContext, 
JavascriptExecutor,
       ^
../driver/src/java/org/openqa/selenium/webkit/WebKitDriver.java:881: 
org.openqa.selenium.webkit.WebKitDriver.WebKitAlert is not abstract and does 
not override abstract method sendKeys(java.lang.String) in 
org.openqa.selenium.Alert
  private class WebKitAlert implements Alert
          ^
../driver/src/java/org/openqa/selenium/webkit/WebKitDriver.java:896: 
org.openqa.selenium.webkit.WebKitDriver.WebKitTimeouts is not abstract and does 
not override abstract method 
setScriptTimeout(long,java.util.concurrent.TimeUnit) in 
org.openqa.selenium.WebDriver.Timeouts
  class 

Original issue reported on code.google.com by [email protected] on 7 Dec 2010 at 12:16

WebKit source too old

The current WebKit source code included in this project is at revision r55226. 
The WebKit head is 72510. 

We need to change our trunk so that 
- all WebKit related source code is fetched through an external definition at a 
given revision.
- all local changes can be retro fitted to the externally fetched code, giving 
more flexibility to us to sync to the latest WebKit revision when needed. 

Original issue reported on code.google.com by [email protected] on 22 Nov 2010 at 10:12

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.