Skip to content

Commit 49916b0

Browse files
Merge branch 'trunk' into dev-beta-blog-post
2 parents d689c43 + 55c0ddf commit 49916b0

File tree

3 files changed

+30
-0
lines changed

3 files changed

+30
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
const {By} = require('selenium-webdriver');
2+
const {suite} = require('selenium-webdriver/testing');
3+
const assert = require('assert');
4+
5+
suite(function(env) {
6+
describe('Drag and Drop', function() {
7+
let driver;
8+
9+
before(async function() {
10+
driver = await env.builder().build();
11+
});
12+
13+
after(async () => await driver.quit());
14+
15+
it('By Offset', async function() {
16+
await driver.get('https://www.selenium.dev/selenium/web/mouse_interaction.html');
17+
const draggable = driver.findElement(By.id("draggable"));
18+
let start = await draggable.getRect();
19+
let finish = await driver.findElement(By.id("droppable")).getRect();
20+
const actions = driver.actions({async: true});
21+
await actions.dragAndDrop(draggable, {x: finish.x - start.x, y: finish.y-start.y}).perform();
22+
23+
let result = await driver.findElement(By.id("drop-status")).getText();
24+
assert.deepStrictEqual('dropped', result)
25+
});
26+
});
27+
});

website_and_docs/content/blog/2022/dev-and-beta-channel-browsers-via-docker-selenium.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ The Docker Selenium browser Beta and Dev channel releases are now regularly publ
1414

1515
### What are "release channels"?
1616

17+
1718
Here's some background on release channels: Google, Mozilla, and Microsoft all maintain different "channels" for their respective browser releases. Most end users use the "Stable" channel. The Stable channel releases have passed rigorous testing, and these versions are considered "production-ready". Up until now, this was the only option for a tester or developer when using Docker Selenium. Today, we're pleased to announce teams can also test on versions of these browsers yet to be released to the general population. These are the Beta and Dev channels.
1819

1920
For clarity, here is Google's description of these 3 channels from [their "Chrome Release Channels" page](https://www.chromium.org/getting-involved/dev-channel/):

website_and_docs/content/project/structure/_index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ <h3 class="pb-3">Selenium Committers</h3>
5555
{{< gh-user "https://api.github.com/users/andreastt" >}}
5656
{{< gh-user "https://api.github.com/users/AutomatedTester" >}}
5757
{{< gh-user "https://api.github.com/users/barancev" >}}
58+
{{< gh-user "https://api.github.com/users/bonigarcia" >}}
5859
{{< gh-user "https://api.github.com/users/cgoldberg" >}}
5960
{{< gh-user "https://api.github.com/users/corevo" >}}
6061
{{< gh-user "https://api.github.com/users/davehunt" >}}
@@ -94,6 +95,7 @@ <h3 class="pb-3">Selenium Committers</h3>
9495
<h3 class="pb-3">Selenium Website & Docs Committers</h3>
9596
<div class="row">
9697
{{< gh-user "https://api.github.com/users/ahunsberger" >}}
98+
{{< gh-user "https://api.github.com/users/bonigarcia" >}}
9799
{{< gh-user "https://api.github.com/users/ddavison" >}}
98100
{{< gh-user "https://api.github.com/users/diemol" >}}
99101
{{< gh-user "https://api.github.com/users/lukeis" >}}

0 commit comments

Comments
 (0)