Thanks so much for your answer!
I don't quite understand it. What I would like to do is to run javascripts 
scripts that would unit test my application in Polymer, actually my 
components using selenium. I did download the wct-local driver from 
https://www.npmjs.com/package/wct-local and I am using it under 
web-component-tester. I see it start Selenium server and ChromeDriver but 
my question is actually how do I access the instance of that driver in my 
test as we do here below. Thanks!

# Create a new instance of the Firefox driver
driver = webdriver.Firefox()


Le vendredi 24 avril 2015 03:26:34 UTC-4, Peng Kim a écrit :
>
> I think your problem is how to use third-part plugins in shadow dom,if so 
> ,include plugin in light dom,and make it an polymer model.
> for example:
> <script src="/layouts/scripts/jquery.js"></script>
> <polymer-element name=“my-element">
> <template>...</template>
> <script>
> Polymer({
> this.$$ = JQuery;
> })
> </script>
> </polymer-element>
>
>
>
> On Friday, April 24, 2015 at 6:25:37 AM UTC+8, [email protected] wrote:
>>
>> Hello,
>> Can somebody help me in finding out how to get an instance of a page 
>> using Polymer 0.5 and Selenium?
>> Usually we have a syntax like below. How can I have the same in Polymer?
>> Thanks.
>>
>> # Create a new instance of the Firefox driverdriver = webdriver.Firefox()
>> # go to the google home pagedriver.get("htow tp://www.google.com")
>>
>>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/e58ff112-662e-405c-a3e9-e174a1212b60%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to