()
| 20 | import { useLocation } from 'react-router-dom' |
| 21 | |
| 22 | function HelpContainer (): JSX.Element { |
| 23 | const location = useLocation() |
| 24 | return ( |
| 25 | <Container maxWidth='md'> |
| 26 | {location.pathname !== '/help' && ( |
| 27 | <Box mt={2}> |
| 28 | <Typography |
| 29 | align='center' |
| 30 | color='textPrimary' |
| 31 | variant='h2' |
| 32 | > |
| 33 | Whoops! The URL specified routes to this help page. |
| 34 | </Typography> |
| 35 | </Box> |
| 36 | )} |
| 37 | <Box mt={6}> |
| 38 | <Typography |
| 39 | align='center' |
| 40 | color='textPrimary' |
| 41 | variant='h3' |
| 42 | > |
| 43 | More information about Selenium Grid can be found at the{' '} |
| 44 | <Link |
| 45 | href='https://www.selenium.dev/documentation/grid/' |
| 46 | target='_blank' |
| 47 | rel='noreferrer' |
| 48 | underline='hover' |
| 49 | > |
| 50 | documentation |
| 51 | </Link>. |
| 52 | </Typography> |
| 53 | </Box> |
| 54 | <Box mt={6}> |
| 55 | <Typography |
| 56 | align='center' |
| 57 | color='textPrimary' |
| 58 | variant='h3' |
| 59 | > |
| 60 | Please report bugs and issues to the Selenium{' '} |
| 61 | <Link |
| 62 | href='https://github.com/SeleniumHQ/selenium/issues/new/choose' |
| 63 | target='_blank' |
| 64 | rel='noreferrer' |
| 65 | underline='hover' |
| 66 | > |
| 67 | issue tracker |
| 68 | </Link>. |
| 69 | </Typography> |
| 70 | </Box> |
| 71 | <Box mt={6}> |
| 72 | <Typography |
| 73 | align='center' |
| 74 | color='textPrimary' |
| 75 | variant='h3' |
| 76 | > |
| 77 | For questions and help, check the different support channels on |
| 78 | our{' '} |
| 79 | <Link |
nothing calls this directly
no outgoing calls
no test coverage detected