/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import React from 'react'
import useDocusaurusContext from '@docusaurus/useDocusaurusContext'
import Link from '@docusaurus/Link'
import Translate, { translate } from '@docusaurus/Translate'
import Layout from '@theme/Layout'
function Version() {
const { siteConfig } = useDocusaurusContext()
const repoUrl = `https://github.com/${siteConfig.organizationName}/${siteConfig.projectName}`
const pastVersions = [{
name: 'v9',
path: 'https://webdriver.io',
comment: 'Stable',
repoUrl
}, {
name: 'v8',
label: 'v8',
path: 'https://v8.webdriver.io',
comment: (
The project team releases new major versions roughly on a
yearly cadence. LTS release status is "long-term support",
which typically guarantees that critical bugs will be fixed
for a total of 12 months until a new major release is made.
{stableVersion && (
Current version (Stable)
Here you can find the documentation for current released version.